aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ring_buffer.h
diff options
context:
space:
mode:
authorChristopher Brannon <[email protected]>2013-09-11 10:05:27 -0700
committerGreg Kroah-Hartman <[email protected]>2013-09-17 07:47:46 -0700
commitfaf487b62059cd837c393dd42b30996da49fc157 (patch)
treeb5023dc0891c54fa9000ce01450d8d5a9e55abcd /include/linux/ring_buffer.h
parentb71600bb4bc8591c9bc4234cc12b51d521444b1c (diff)
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 <[email protected]> Acked-by: Samuel Thibault <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/linux/ring_buffer.h')
0 files changed, 0 insertions, 0 deletions