linux/drivers/media
Vasiliy Kulikov 4c8b869805 [media] rc: ir-lirc-codec: fix potential integer overflow
'n' may be bigger than MAX_INT*sizeof(int), if so checking of truncated
(int)(n/sizeof(int)) for LIRCBUF_SIZE overflow and then using nontruncated 'count'
doesn't make sense.  Also n may be up to sizeof(int)-1 bytes bigger than expected,
so check value of (n % sizeof(int)) too.

Signed-off-by: Vasiliy Kulikov <segoon@openwall.com>
Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-12-29 08:17:02 -02:00
..
common [media] drivers/media: Removed unnecessary KERN_<level>s from dprintk uses 2010-12-29 08:16:29 -02:00
dvb [media] media: Remove unnecessary casts of usb_get_intfdata 2010-12-29 08:16:58 -02:00
radio [media] V4L2: WL1273 FM Radio: TI WL1273 FM radio driver 2010-12-29 08:17:02 -02:00
rc [media] rc: ir-lirc-codec: fix potential integer overflow 2010-12-29 08:17:02 -02:00
video [media] gspca_sonixb: Add support for 0c45:602a 2010-12-29 08:17:01 -02:00
Kconfig [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00
Makefile [media] rename drivers/media/IR to drives/media/rc 2010-12-29 08:16:36 -02:00