linux/drivers/staging/speakup
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
..
buffers.c Staging: speakup: buffers.c: checkpatch.pl fixes 2013-01-17 13:31:07 -08:00
DefaultKeyAssignments
devsynth.c staging: speakup: fix warnings by adding __user annotations 2013-05-22 15:35:52 -07:00
fakekey.c staging: speakup: Turn some symbols static 2013-01-07 14:08:15 -08:00
i18n.c staging: speakup: i18n: remove custom locking macros 2013-05-16 16:11:08 -07:00
i18n.h staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
Kconfig Staging: speakup: Add dependencies for ISA card drivers 2013-09-17 07:47:45 -07:00
keyhelp.c Staging: speakup: keyhelp.c: checkpatch.pl fixes 2013-01-17 13:31:07 -08:00
kobjects.c staging: speakup: kobjects.c: Use correct values when changing voice. 2013-09-17 07:47:46 -07:00
main.c Staging: speakup/main: Staticize local symbols 2013-05-22 15:35:39 -07:00
Makefile
selection.c staging: speakup: selection.c fix typo in comment 2013-04-05 15:03:09 -07:00
serialio.c staging: speakup: serialio: remove custom locking macros 2013-05-16 16:11:09 -07:00
serialio.h serial: diminish usage of struct serial_uart_config 2012-09-05 13:15:07 -07:00
speakup_acnt.h staging "speakup" Fix typos. 2012-07-09 13:06:21 -07:00
speakup_acntpc.c Staging: speakup/speakup_acntpc: Return NULL instead of 0 2013-05-22 15:35:38 -07:00
speakup_acntsa.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_apollo.c staging: speakup: apollo: remove custom locking macros 2013-05-16 16:11:09 -07:00
speakup_audptr.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_bns.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_decext.c staging: speakup: decext: remove custom locking macros 2013-05-16 16:11:10 -07:00
speakup_decpc.c Staging: speakup: Return NULL instead of 0 in speakup_decpc.c 2013-05-16 16:17:29 -07:00
speakup_dectlk.c staging: speakup: dectlk: remove custom locking macros 2013-05-16 16:14:47 -07:00
speakup_dtlk.c Staging: speakup/speakup_dtlk: Return NULL instead of 0 2013-05-22 15:35:38 -07:00
speakup_dtlk.h
speakup_dummy.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_keypc.c Staging: speakup/speakup_keypc: Return NULL instead of 0 2013-05-22 15:35:38 -07:00
speakup_ltlk.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_soft.c staging: speakup: fix warnings by adding __user annotations 2013-05-22 15:35:52 -07:00
speakup_spkout.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup_txprt.c staging: speakup: Prefix externally-visible symbols 2013-01-07 14:06:31 -08:00
speakup.h staging: speakup: remove custom string_unescape_any_inplace 2013-04-30 17:04:03 -07:00
speakupmap.h
speakupmap.map
spk_priv_keyinfo.h
spk_priv.h staging: speakup: remove custom locking macro definitions 2013-05-16 16:14:50 -07:00
spk_types.h
spkguide.txt
synth.c Staging: speakup: Fix return value in synth.c 2013-05-16 16:17:30 -07:00
thread.c staging: speakup: thread: remove custom locking macros 2013-05-16 16:14:49 -07:00
TODO
varhandlers.c Staging: speakup: Fix sparse warning in varhandlers.c 2013-05-16 16:17:29 -07:00