remarkable-linux/drivers
Hans Verkuil 429e90893c V4L/DVB (8546): saa7146: fix read from uninitialized memory
The offset field of the scatterlist entry *after* the last valid scatterlist
entry was used instead of the first scatterlist entry (as was the intention
of this code).

This worked fine until the kzalloc of the sglist was replaced with kmalloc
and sg_init_table only zeroed the exact needed length. Apparently kzalloc
zeroes a bit more than is strictly necessary so the offset field was
always 0 in the past.

But now the offset field was suddenly random and this led to broken captures.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-27 18:07:58 -03:00
..
accessibility
acpi Merge branch 'tracing-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2008-07-26 13:25:47 -07:00
amba
ata Fix ahci driver 'flags' type 2008-07-25 10:56:36 -07:00
atm
auxdisplay
base Use WARN() in drivers/base/ 2008-07-26 12:00:07 -07:00
block aoe: convert emsgs_sema into a completion 2008-07-25 10:53:45 -07:00
bluetooth
cdrom
char m68k: gs: use tty_port fixes 2008-07-26 20:29:03 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac edac: mpc85xx fix pci ofdev 2nd pass 2008-07-25 10:53:49 -07:00
eisa
firewire dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
firmware firmware: fix memmap printk format warnings 2008-07-26 20:16:48 -07:00
gpio gpio: max732x driver 2008-07-25 10:53:30 -07:00
gpu drm: make drm_minors_cleanup() static 2008-07-26 12:00:11 -07:00
hid
hwmon
i2c gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00
ide ide: use proper printk() KERN_* levels in ide-probe.c 2008-07-24 22:53:36 +02:00
ieee1394
infiniband Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-07-26 20:40:36 -07:00
input Undo duplicate "m68k: drivers/input/serio/hp_sdc.c needs <linux/semaphore.h>" 2008-07-25 09:19:36 -07:00
isdn Add layer1 over IP support 2008-07-27 02:02:10 +02:00
leds
lguest virtio: Add transport feature handling stub for virtio_ring. 2008-07-25 12:06:14 +10:00
macintosh
mca
md
media V4L/DVB (8546): saa7146: fix read from uninitialized memory 2008-07-27 18:07:58 -03:00
memstick memstick: use fully asynchronous request processing 2008-07-26 12:00:04 -07:00
message Documentation cleanup: trivial misspelling, punctuation, and grammar corrections. 2008-07-26 12:00:06 -07:00
mfd asic3: platform_get_irq() may return signed unnoticed 2008-07-26 12:00:02 -07:00
misc drivers/misc/phantom: note PCI 2008-07-25 10:53:44 -07:00
mmc Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc 2008-07-26 20:27:31 -07:00
mtd Merge git://git.infradead.org/mtd-2.6 2008-07-26 20:30:56 -07:00
net Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband 2008-07-26 20:40:36 -07:00
nubus
of Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-25 11:08:17 -07:00
oprofile
parisc
parport make parport_cs_release() static 2008-07-26 12:00:11 -07:00
pci Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-24 13:57:13 -07:00
pcmcia
pnp make pnp_add_card_id() static 2008-07-26 12:00:11 -07:00
power drivers/power: fix platform driver hotplug/coldplug 2008-07-25 10:53:28 -07:00
ps3
rapidio
rtc
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-07-26 20:17:56 -07:00
sbus
scsi dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
serial
sh
sn
spi dma-mapping: add the device argument to dma_mapping_error() 2008-07-26 12:00:03 -07:00
ssb
tc
telephony ixj: push BKL into driver and wrap ioctls 2008-07-25 10:53:43 -07:00
thermal
uio
usb fix for a memory leak in an error case introduced by fix for double free 2008-07-26 20:40:09 -07:00
video drivers/video/fbmem.c: removed duplicated include 2008-07-26 13:22:56 -07:00
virtio virtio: Add transport feature handling stub for virtio_ring. 2008-07-25 12:06:14 +10:00
w1
watchdog
xen
zorro
Kconfig
Makefile gpiolib: allow user-selection 2008-07-25 10:53:30 -07:00