diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-01-09 17:26:05 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-01-09 17:27:54 (GMT) |
commit | 74eeb141d3bdf5a9a65c84dd637c41f12c40f41c (patch) | |
tree | 819cfbefd802e9e4c7daefd9055d59e632343228 /security | |
parent | 9badda0a0afffebbe1cb30565800896534a6c5bd (diff) | |
download | linux-74eeb141d3bdf5a9a65c84dd637c41f12c40f41c.tar.xz |
ALSA: asihpi - Fix potential Oops in snd_asihpi_cmode_info()
Dan Carpenter reported that setting 0 to uinfo->value.enumerated.items
in snd_asihpi_cmode_info() may lead to Oops. This function should
return an error immediately in such a case instead.
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions