aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2024-07-24 09:23:50 -0700
committerGreg Kroah-Hartman <[email protected]>2024-07-31 10:40:08 +0200
commit8290b567621ba4e3ccf45ec9d67e0507196c5ddc (patch)
tree06a78e888d2e3bc234f0315b469545ea264d81b4 /lib/test_fortify/write_overflow-strncpy-src.c
parent5a444bea37e2759549ef72bfe83d1c8712e76b3d (diff)
usb: typec: tipd: Fix dereferencing freeing memory in tps6598x_apply_patch()
release_firmware() already frees fw, fix this my moving release_firmware after the dereference. Fixes: 916b8e5fa73d ("usb: typec: tipd: add error log to provide firmware name and size") Signed-off-by: Harshit Mogalapalli <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Reviewed-by: Javier Carrasco <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions