Prevent race condition attack 54/73454/4
authorSangyoon Jang <s89.jang@samsung.com>
Wed, 8 Jun 2016 07:14:21 +0000 (16:14 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Wed, 8 Jun 2016 07:24:23 +0000 (16:24 +0900)
commit6d974bb4cb6b0d8732c46d6372a7759296327110
tree6541129c3b506dfb7bf294121e4705ba4b6fbfb7
parentc3892b772b00cdf739724b6aa9638c1bfa4e01dc
Prevent race condition attack

Use fchown, fchmod instead of chown, chmod.

Change-Id: I8b2e0a5a2a4df5171d67df46faff5d7841015487
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser_db.c
src/pkgmgrinfo_db.c