lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87bkr1gvbx.wl-tiwai@suse.de>
Date:   Tue, 27 Sep 2022 08:55:30 +0200
From:   Takashi Iwai <tiwai@...e.de>
To:     Eugeniu Rosca <erosca@...adit-jv.com>
Cc:     Lars-Peter Clausen <lars@...afoo.de>,
        Vinod Koul <vkoul@...nel.org>, Mark Brown <broonie@...nel.org>,
        Jaroslav Kysela <perex@...ex.cz>,
        Takashi Iwai <tiwai@...e.com>, <alsa-devel@...a-project.org>,
        <linux-kernel@...r.kernel.org>, Jiada Wang <jiada_wang@...tor.com>,
        Dean Jenkins <Dean_Jenkins@...tor.com>,
        Andreas Pape <apape@...adit-jv.com>,
        Eugeniu Rosca <roscaeugeniu@...il.com>
Subject: Re: [PATCH] ALSA: dmaengine: increment buffer pointer atomically

On Mon, 26 Sep 2022 18:58:13 +0200,
Eugeniu Rosca wrote:
> 
> From: Andreas Pape <apape@...adit-jv.com>
> 
> Setting pointer and afterwards checking for wraparound leads
> to the possibility of returning the inconsistent pointer position.
> 
> This patch increments buffer pointer atomically to avoid this issue.
> 
> Fixes: e7f73a1613567a ("ASoC: Add dmaengine PCM helper functions")
> Signed-off-by: Andreas Pape <apape@...adit-jv.com>
> Signed-off-by: Eugeniu Rosca <erosca@...adit-jv.com>

Thanks, applied.


Takashi

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ