Check request ID before updating download information 59/185859/2
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 3 Aug 2018 05:13:20 +0000 (14:13 +0900)
committerseonah moon <seonah1.moon@samsung.com>
Fri, 3 Aug 2018 08:33:14 +0000 (08:33 +0000)
commitb326f82e27c655c8a8bc0f8b616af28778249d20
tree7a29ccfb63af355f194840e56e0acf9be4af8025
parente8409d496e6c03a1429e724b764f01a4bc591a90
Check request ID before updating download information

downaload thread often accesses to memory which is freed by other thread.
To avoid refering invalid memory, this patch checks whether request ID is
valid or not.

Change-Id: I994bcf73714c2af3d896b07f27534ae8580c0545
provider/download-provider-plugin-download-agent.c