original_kernel/drivers/media/platform/vivid
Hans Verkuil c204e1fafb [media] vivid: fix buffer overrun
The random_line buffer must be twice the maximum width, but it only allocated
the maximum width, so it was only half the size it needed to be.

Surprisingly I never saw the kernel fail on this, but the same TPG code used in
qv4l2 crashed and valgrind helped me track this bug down.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-10-21 08:52:11 -02:00
..
Kconfig
Makefile
vivid-core.c
vivid-core.h
vivid-ctrls.c
vivid-ctrls.h
vivid-kthread-cap.c
vivid-kthread-cap.h
vivid-kthread-out.c
vivid-kthread-out.h
vivid-osd.c
vivid-osd.h
vivid-radio-common.c
vivid-radio-common.h
vivid-radio-rx.c
vivid-radio-rx.h
vivid-radio-tx.c
vivid-radio-tx.h
vivid-rds-gen.c
vivid-rds-gen.h
vivid-sdr-cap.c
vivid-sdr-cap.h
vivid-tpg-colors.c
vivid-tpg-colors.h
vivid-tpg.c
vivid-tpg.h
vivid-vbi-cap.c
vivid-vbi-cap.h
vivid-vbi-gen.c
vivid-vbi-gen.h
vivid-vbi-out.c
vivid-vbi-out.h
vivid-vid-cap.c
vivid-vid-cap.h
vivid-vid-common.c
vivid-vid-common.h
vivid-vid-out.c
vivid-vid-out.h