aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAlain Volmat <[email protected]>2024-07-03 13:59:16 +0200
committerHans Verkuil <[email protected]>2024-07-03 15:52:24 +0200
commita7351f0d3668b449fdc2cfd90403b1cb1f03ed6d (patch)
treeffefca530a1282f6f8f3236d65c976cb399f38f9 /lib/test_fortify/write_overflow-strncpy-src.c
parent5d5f67b3b23f42eafdba508d6075fa714cbe2ed2 (diff)
media: stm32: dcmipp: correct error handling in dcmipp_create_subdevs
Correct error handling within the dcmipp_create_subdevs by properly decrementing the i counter when releasing the subdevs. Fixes: 28e0f3772296 ("media: stm32-dcmipp: STM32 DCMIPP camera interface driver") Cc: [email protected] Signed-off-by: Alain Volmat <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Acked-by: Sakari Ailus <[email protected]> [hverkuil: correct the indices: it's [i], not [i - 1].]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions