summaryrefslogtreecommitdiffstats
path: root/lib/net_utils.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-12-19 12:36:27 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-07 10:46:26 +0100
commitf4351a199cc120ff9d59e06d02e8657d08e6cc46 (patch)
treeb3d38fbd367555c5a905dc37954a4af73dd74bf6 /lib/net_utils.c
parentbfeffd155283772bbe78c6a05dec7c0128ee500c (diff)
downloadlinux-f4351a199cc120ff9d59e06d02e8657d08e6cc46.tar.gz
linux-f4351a199cc120ff9d59e06d02e8657d08e6cc46.tar.bz2
linux-f4351a199cc120ff9d59e06d02e8657d08e6cc46.zip
ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()
The parser for the processing unit reads bNrInPins field before the bLength sanity check, which may lead to an out-of-bound access when a malformed descriptor is given. Fix it by assignment after the bLength check. Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions