storaged could cause heap use after free 42/198842/5 accepted/tizen/unified/20190131.161526 submit/tizen/20190131.065956
authorpr.jung <pr.jung@samsung.com>
Wed, 30 Jan 2019 08:35:27 +0000 (17:35 +0900)
committerpr.jung <pr.jung@samsung.com>
Thu, 31 Jan 2019 06:01:51 +0000 (15:01 +0900)
commit15bfdf8a1c1a0a191ff3423de1b4ea5a5310da74
tree6d05ad0ca2a754dfc310f3af52e9bc92c7b240c4
parent22f64a9c0da2c6805e385dc9676e30ddca6a95cf
storaged could cause heap use after free

- Call free() on remove_operation()(Thread)
- Access op->op on add_operation()(Main thread)

Change-Id: Iee3b3a545a04889d79f1d696dadce9d842769259
Signed-off-by: pr.jung <pr.jung@samsung.com>
src/block/block.c