aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHans Verkuil <[email protected]>2022-03-21 08:33:56 +0000
committerMauro Carvalho Chehab <[email protected]>2022-09-27 10:24:43 +0200
commit4e768c8e34e639cff66a0f175bc4aebf472e4305 (patch)
tree10fc6a9eaeb1bfe9a68756398eec46ca3c1ebac3 /lib/test_fortify/write_overflow-strncpy-src.c
parent150f7b11cb59670a147e88580a604ce3c6845a88 (diff)
media: v4l2-compat-ioctl32.c: zero buffer passed to v4l2_compat_get_array_args()
The v4l2_compat_get_array_args() function can leave uninitialized memory in the buffer it is passed. So zero it before copying array elements from userspace into the buffer. Signed-off-by: Hans Verkuil <[email protected]> Reported-by: [email protected] Reviewed-by: Laurent Pinchart <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions