From: Takashi Iwai <tiwai@suse.de>
To: Daisuke Yamane <yamane07ynct@gmail.com>
Cc: Takashi Iwai <tiwai@suse.com>, Jaroslav Kysela <perex@perex.cz>,
linux-sound@vger.kernel.org
Subject: Re: [PATCH v2 0/2] ALSA: usb-audio: Fix Yamaha ZG02 capture
Date: Sun, 06 Dec 2026 12:03:59 +0100 [thread overview]
Message-ID: <87fqwasmao.wl-tiwai@suse.de> (raw)
In-Reply-To: <20261206065652.51981-1-yamane07ynct@gmail.com>
On Sun, 06 Dec 2026 07:56:50 +0100,
Daisuke Yamane wrote:
>
> The Yamaha ZG02 prefixes each capture packet with an 8-byte header,
> which the driver copies as audio. Patch 2 skips it with pkt_offset_adj.
> Patch 1 is new in v2: it makes retire_capture_urb() take pkt_offset_adj
> off the byte count, so that a malformed packet cannot make the copy run
> past the URB buffer, as pointed out in the review of v1.
>
> v1: https://lore.kernel.org/all/20261204133429.247377-1-yamane07ynct@gmail.com/
>
> Daisuke Yamane (2):
> ALSA: usb-audio: Don't read past the packet with pkt_offset_adj
> ALSA: usb-audio: Skip packet header in Yamaha ZG02 capture stream
Applied to for-next branch now. Thanks.
Takashi
prev parent reply other threads:[~2026-12-06 11:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-06 6:56 [PATCH v2 0/2] ALSA: usb-audio: Fix Yamaha ZG02 capture Daisuke Yamane
2026-12-06 6:56 ` [PATCH v2 1/2] ALSA: usb-audio: Don't read past the packet with pkt_offset_adj Daisuke Yamane
2026-12-06 6:56 ` [PATCH v2 2/2] ALSA: usb-audio: Skip packet header in Yamaha ZG02 capture stream Daisuke Yamane
2026-12-06 11:03 ` Takashi Iwai [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fqwasmao.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
--cc=yamane07ynct@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox