summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2026-10-06 15:44:04 +0200
committerTakashi Iwai <tiwai@suse.de>2026-10-07 11:27:31 +0200
commitccfe6ab672c020fca56988e634088bfb7764e2a7 (patch)
tree90a757cb8badc715540d990a51a9d651485c0d02 /include
parent5cc1749b5f154a2cb97439cf084afce788f36102 (diff)
downloadlinux-next-ccfe6ab672c020fca56988e634088bfb7764e2a7.tar.gz
linux-next-ccfe6ab672c020fca56988e634088bfb7764e2a7.zip
ALSA: caiaq: Allow zero-length packet handling for EP1
The recent fix to avoid OOB access for malformed packets added a packet length check and returns immediately if it's too short. However, this can be lead to a regression because the completion handler doesn't resubmit the packet, while a zero-length packet itself is valid, per se. For addressing the potential regression above, change the handling for a zero-length packet to just resubmit without processing the incoming contents. Fixes: aba30af07d4f ("ALSA: usb-audio: caiaq: validate EP1 reply lengths") Link: https://patch.msgid.link/20261006134405.479603-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions