diff options
author | Eldad Zack <eldad@fogrefinery.com> | 2013-08-03 08:51:15 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-08-06 08:52:27 (GMT) |
commit | e7e58df8ef3c9edb09a240084b4e0523c12bcb71 (patch) | |
tree | 1708c1c42916ad6552c2ecc9e5cab623b7947aa1 /net/ipv6/reassembly.c | |
parent | 88abb8eff494d0be7819e744e74d62d5bc852905 (diff) | |
download | linux-fsl-qoriq-e7e58df8ef3c9edb09a240084b4e0523c12bcb71.tar.xz |
ALSA: usb-audio: WARN_ON when alts is passed as NULL
Prevent NULL dereference in snd_usb_add_endpoints(), when
alts is passed as NULL. In this case, WARN (since this is
a non-fatal bug) and return NULL ep. Call sites treat a NULL
return value as an error.
Signed-off-by: Eldad Zack <eldad@fogrefinery.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'net/ipv6/reassembly.c')
0 files changed, 0 insertions, 0 deletions