diff options
| author | Takashi Iwai <[email protected]> | 2018-12-19 12:36:27 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2019-01-07 10:46:26 +0100 |
| commit | f4351a199cc120ff9d59e06d02e8657d08e6cc46 (patch) | |
| tree | b3d38fbd367555c5a905dc37954a4af73dd74bf6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
| parent | bfeffd155283772bbe78c6a05dec7c0128ee500c (diff) | |
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: <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions