mirror-linux/drivers/staging
Christopher Brannon faf487b620 staging: speakup: kobjects.c: Use correct values when changing voice.
When a new voice is selected, we set volume and pitch appropriate for
the voice.  We need to use the numeric index corresponding to the
voice when indexing into the volume and pitch tables, rather than
the raw user input that was used to select the voice.
Note that using the raw input can also lead to an invalid memory read
in the case of invalid or malicious user input.

Signed-off-by: Christopher Brannon <chris@the-brannons.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-09-17 07:47:46 -07:00
..
android staging/android: Add kerneldoc to one function in alarm-dev.c 2013-09-17 07:47:40 -07:00
bcm Staging: bcm: nvm: fixed space prohibition 2013-09-17 07:47:44 -07:00
btmtk_usb
ced1401
comedi staging: comedi: comedi_parport: change MODULE_DESCRIPTION 2013-09-17 07:47:43 -07:00
cptm1217
crystalhd
cxt1e1
dgap staging: dgap: Remove casting the return value which is a void pointer 2013-09-17 07:47:43 -07:00
dgnc staging: dgnc: removes parentheses around return statements 2013-09-17 07:47:43 -07:00
dgrp staging: dgrp: Remove casting the return value which is a void pointer 2013-09-17 07:47:43 -07:00
dwc2
echo
et131x staging: et131x: Add some items to the TODO list 2013-09-17 07:47:43 -07:00
frontier
ft1000
fwserial Staging: fwserial: wrap a line that exceeds 80 characters 2013-09-17 07:47:44 -07:00
gdm72xx
gdm724x
goldfish
iio
imx-drm Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux 2013-09-05 10:17:26 -07:00
keucr
line6
lustre Merge git://git.kvack.org/~bcrl/aio-next 2013-09-13 10:55:58 -07:00
media
netlogic
nvec
octeon
octeon-usb
olpc_dcon
ozwpan
panel
phison
quickstart
rtl8187se
rtl8188eu staging: r8188eu: Fix smatch warning in rtl8188eu/core/rtw_xmit.c 2013-09-17 07:47:45 -07:00
rtl8192e Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
rtl8192u
rtl8712
rts5139
sb105x
sbe-2t3e3
sep
serqt_usb2
silicom
slicoss Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
sm7xxfb
speakup staging: speakup: kobjects.c: Use correct values when changing voice. 2013-09-17 07:47:46 -07:00
ste_rmi4
tidspbridge
usbip
vme
vt6655 staging: vt6655: Remove commented out block with compare_ether_addr 2013-09-17 07:47:44 -07:00
vt6656 Staging: Convert uses of compare_ether_addr to ether_addr_equal 2013-09-17 07:47:44 -07:00
winbond
wlags49_h2
wlags49_h25
wlan-ng staging: wlan-ng: cfg80211.c: replaced printk() with netdev_warn() 2013-09-17 07:47:44 -07:00
xgifb
xillybus
zram
zsmalloc
Kconfig
Makefile
staging.c