diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-08-18 17:55:15 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-20 10:24:21 +0200 |
commit | 94f3ec6b2222eb5c0af0c784f0656ff5b909d870 (patch) | |
tree | d67fe0f941e81a1c47d9b49de144f62aeda5c4ee /sound/oss/ulaw.h | |
parent | ALSA: hda - Don't send invalid volume knob command on IDT 92hd75bxx (diff) | |
download | linux-94f3ec6b2222eb5c0af0c784f0656ff5b909d870.tar.xz linux-94f3ec6b2222eb5c0af0c784f0656ff5b909d870.zip |
sound: oss/sb_audio: prevent divide by zero bug
Speed comes from get_user() in audio_ioctl(). We use it to set the "s"
variable before clamping it to valid values so it could lead to a divide
by zero bug.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/oss/ulaw.h')
0 files changed, 0 insertions, 0 deletions