pstore: fix use after free
authorMichael Olbrich <m.olbrich@pengutronix.de>
Fri, 6 Sep 2019 13:04:01 +0000 (15:04 +0200)
committerMichael Biebl <biebl@debian.org>
Fri, 15 Nov 2019 21:01:17 +0000 (21:01 +0000)
commite1b967d50dcb1e178559421e037432fb12bd7e88
tree2b8de0b37693d6a35d6688615006016a609c4989
parent5e3cc375ef93b4b4d44cdc1669751cb8e24a47f0
pstore: fix use after free

The memory is still needed in the sd_journal_sendv() after the 'if' block.

(cherry picked from commit 1e19f5ac0d680a63eccae7ef1fc6ce225dca0bbf)
(cherry picked from commit 1b3156edd291e0882d80a695d035dd30521345d1)

Gbp-Pq: Name pstore-fix-use-after-free.patch
src/pstore/pstore.c