summaryrefslogtreecommitdiff
path: root/lib/pm-notifier-error-inject.c
diff options
context:
space:
mode:
authorHardik Arya <harya@codeaurora.org>2018-11-23 10:41:41 +0530
committerHardik Arya <harya@codeaurora.org>2018-12-06 12:08:28 +0530
commit3000c8ab594ea57dc9b436dc3e81462f4d5b7616 (patch)
tree4a77dee8d4a0f32e58a8a77a4be765426b892cfb /lib/pm-notifier-error-inject.c
parent1446ca0585d1969ad95b16be6af2370eeb124926 (diff)
diag: Mark Buffer as NULL after freeing
There is a possibility of use-after-free and double free because of not marking buffer as NULL after freeing. The patch marks buffer as NULL after freeing in error case. Change-Id: Iacf8f8a4a4e644f48c87d5445ccd594766f2e156 Signed-off-by: Hardik Arya <harya@codeaurora.org>
Diffstat (limited to 'lib/pm-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions