aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-27 15:05:44 +0300
committerHelge Deller <[email protected]>2023-11-07 14:42:34 +0100
commitaba6ab57a910ad4b940c2024d15f2cdbf5b7f76b (patch)
treef2edd2c5331e27fd1a0988dc7b86c06eab4038ae /lib/test_fortify/write_overflow-strncpy-src.c
parente08c30efda21ef4c0ec084a3a9581c220b442ba9 (diff)
fbdev: imsttfb: fix a resource leak in probe
I've re-written the error handling but the bug is that if init_imstt() fails we need to call iounmap(par->cmap_regs). Fixes: c75f5a550610 ("fbdev: imsttfb: Fix use after free bug in imsttfb_probe") Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions