1
linux/drivers/staging
Jarod Wilson cc73b4b57c [media] tm6000: fix vbuf may be used uninitialized
In commit 8aff8ba951, most of the manipulations to vbuf inside
copy_streams were gated on if !dev->radio, but one place that touches
vbuf lays outside those gates -- a memcpy of vbuf isn't NULL. If we
initialize vbuf to NULL, that memcpy will never happen in the case where
we do have dev->radio, and otherwise, in the !dev->radio case, the code
behaves exactly like it did prior to 8aff8ba951.

While we're at it, also fix an incorrectly indented closing brace for
one of the sections touching vbuf that is conditional on !dev->radio.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-05-20 09:27:42 -03:00
..
altera-stapl [media] staging: altera-jtag needs delay.h 2011-03-31 18:49:34 -03:00
asus_oled
ath6kl Fix common misspellings 2011-03-31 11:26:23 -03:00
bcm Fix common misspellings 2011-03-31 11:26:23 -03:00
brcm80211 Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
comedi Fix common misspellings 2011-03-31 11:26:23 -03:00
cptm1217 Fix common misspellings 2011-03-31 11:26:23 -03:00
crystalhd Fix common misspellings 2011-03-31 11:26:23 -03:00
cs5535_gpio
cx25821 Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
cxd2099 [media] ngene: Fix compilation when cxd2099 is not enabled 2011-03-21 20:31:48 -03:00
cxt1e1 Fix common misspellings 2011-03-31 11:26:23 -03:00
dt3155v4l
easycap Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-03-24 09:50:13 -07:00
echo
et131x Fix common misspellings 2011-03-31 11:26:23 -03:00
frontier
ft1000 staging: ft1000: Remove unnecessary EXPORT_SYMBOLs 2011-04-25 17:08:31 -07:00
generic_serial Fix common misspellings 2011-03-31 11:26:23 -03:00
gma500 staging: gma500: Depend on X86 2011-04-25 17:08:30 -07:00
go7007 Fix common misspellings 2011-03-31 11:26:23 -03:00
hv Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
iio Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
intel_sst staging: intel_sst: intelmid needs delay.h 2011-04-25 17:44:09 -07:00
keucr Fix common misspellings 2011-03-31 11:26:23 -03:00
line6 staging: line6: Remove NULL check before kfree 2011-03-14 11:57:33 -07:00
lirc [media] lirc_sasem: key debug spew off debug modparam 2011-05-20 09:27:39 -03:00
msm Fix common misspellings 2011-03-31 11:26:23 -03:00
octeon Fix common misspellings 2011-03-31 11:26:23 -03:00
olpc_dcon staging: olpc: Add <linux/delay.h> 2011-04-25 17:08:29 -07:00
panel
phison
pohmelfs Fix common misspellings 2011-03-31 11:26:23 -03:00
quatech_usb2 Fix common misspellings 2011-03-31 11:26:23 -03:00
quickstart
rt2860 Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
rt2870 Fix common misspellings 2011-03-31 11:26:23 -03:00
rtl8187se Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
rtl8192e Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
rtl8192u Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
rtl8712 Fix common misspellings 2011-03-31 11:26:23 -03:00
rts_pstor staging: rts_pstor: use #ifdef instead of #if 2011-04-25 17:08:31 -07:00
sbe-2t3e3
sep Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
serqt_usb2 Merge branch 'staging-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-03-16 15:19:35 -07:00
slicoss Fix common misspellings 2011-03-31 11:26:23 -03:00
sm7xx Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
solo6x10 staging: solo6x10: add select SND_PCM to fix build error 2011-04-25 17:44:09 -07:00
speakup Fix common misspellings 2011-03-31 11:26:23 -03:00
spectra Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
ste_rmi4 Fix common misspellings 2011-03-31 11:26:23 -03:00
tidspbridge Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
tm6000 [media] tm6000: fix vbuf may be used uninitialized 2011-05-20 09:27:42 -03:00
tty Revert wrong fixes for common misspellings 2011-04-26 23:31:11 -07:00
usbip Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-05-04 14:23:41 -07:00
vme Fix common misspellings 2011-03-31 11:26:23 -03:00
vt6655 Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
vt6656 Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
westbridge Merge branch 'staging-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6 2011-04-07 11:36:44 -07:00
winbond Fix common misspellings 2011-03-31 11:26:23 -03:00
wlags49_h2 Fix common misspellings 2011-03-31 11:26:23 -03:00
wlags49_h25 Fix common misspellings 2011-03-31 11:26:23 -03:00
wlan-ng staging: Remove a warning for drivers/staging/wlan-ng/cfg80211.c 2011-05-03 12:52:00 -07:00
xgifb Fix common misspellings 2011-03-31 11:26:23 -03:00
zcache
zram
Kconfig Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86 2011-04-12 15:24:23 -07:00
Makefile Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mjg59/platform-drivers-x86 2011-04-12 15:24:23 -07:00
staging.c