aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2023-10-27 15:04:56 +0300
committerHelge Deller <[email protected]>2023-11-07 14:42:34 +0100
commite08c30efda21ef4c0ec084a3a9581c220b442ba9 (patch)
tree8e6262d1946bcb0ec2ca5b40ab09e5e43faa8445 /lib/test_fortify/write_overflow-strncpy-src.c
parent3e91a38de1dce97b385d732a5f444264ea8fbd92 (diff)
fbdev: imsttfb: fix double free in probe()
The init_imstt() function calls framebuffer_release() on error and then the probe() function calls it again. It should only be done in probe. Fixes: 518ecb6a209f ("fbdev: imsttfb: Fix error path of 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