summaryrefslogtreecommitdiff
path: root/linux/arch/arm/mach-pxa
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-07-27 19:08:54 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-07-27 19:08:54 +0200
commit89e2fea073c15a3f72ec74c3859e7a3b271e7db3 (patch)
tree158c71d7be6ea8eb265910d5785902c4552907c3 /linux/arch/arm/mach-pxa
parenta2f7e7dbf0f5aeb8842ac6c3e9acd151180d1975 (diff)
downloadmediapointer-dvb-s2-89e2fea073c15a3f72ec74c3859e7a3b271e7db3.tar.gz
mediapointer-dvb-s2-89e2fea073c15a3f72ec74c3859e7a3b271e7db3.tar.bz2
saa7146: fix read from uninitialized memory
From: Hans Verkuil <hverkuil@xs4all.nl> 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>
Diffstat (limited to 'linux/arch/arm/mach-pxa')
0 files changed, 0 insertions, 0 deletions