diff options
author | Hans Verkuil <[email protected]> | 2022-03-21 08:33:56 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2022-09-27 10:24:43 +0200 |
commit | 4e768c8e34e639cff66a0f175bc4aebf472e4305 (patch) | |
tree | 10fc6a9eaeb1bfe9a68756398eec46ca3c1ebac3 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 150f7b11cb59670a147e88580a604ce3c6845a88 (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