From: Takashi Iwai <tiwai@suse.de>
To: butt3rflyh4ck <butterflyhuangxx@gmail.com>
Cc: alsa-devel@alsa-project.org, LKML <linux-kernel@vger.kernel.org>,
pierre-louis.bossart@linux.intel.com, tiwai@suse.com,
broonie@kernel.org
Subject: Re: A divide error bug in snd_pcm_write
Date: Mon, 26 Sep 2022 20:01:25 +0200 [thread overview]
Message-ID: <87leq6gglm.wl-tiwai@suse.de> (raw)
In-Reply-To: <CAFcO6XP2MpiAsF7YXYjgh7FMq+hyzFJjK8iBf=ccZ2B6BpNvOg@mail.gmail.com>
On Mon, 26 Sep 2022 19:16:48 +0200,
butt3rflyh4ck wrote:
>
> The latest kernel upstream.
> Yes, but using mmap, you can map the runtime->status page, and then
> copy the data through memcpy to overwrite the status->state data, or
> even more, which is incredible.
Ah, then that's exactly the case my latest patch set covers.
Either the first patch or the second patch alone should work.
https://lore.kernel.org/r/20220926135558.26580-2-tiwai@suse.de
https://lore.kernel.org/r/20220926135558.26580-3-tiwai@suse.de
Could you verify either of them fixes the problem?
thanks,
Takashi
next prev parent reply other threads:[~2022-09-26 18:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-26 9:26 A divide error bug in snd_pcm_write butt3rflyh4ck
2022-09-26 10:21 ` Takashi Iwai
2022-09-26 17:16 ` butt3rflyh4ck
2022-09-26 18:01 ` Takashi Iwai [this message]
2022-09-29 14:52 ` butt3rflyh4ck
2022-09-29 16:14 ` Takashi Iwai
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=87leq6gglm.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=butterflyhuangxx@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre-louis.bossart@linux.intel.com \
--cc=tiwai@suse.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