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: <00bfbc805d9746579129083dafdc1bd0@realtek.com>
Date: Wed, 9 Oct 2024 02:16:26 +0000
From: Jack Yu <jack.yu@...ltek.com>
To: Mark Brown <broonie@...nel.org>, Colin Ian King <colin.i.king@...il.com>
CC: Oder Chiou <oder_chiou@...ltek.com>, Liam Girdwood <lgirdwood@...il.com>,
        Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>,
        "linux-sound@...r.kernel.org" <linux-sound@...r.kernel.org>,
        "kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH][next] ASoC: rt-sdw-common: Fix bit-wise or'ing of values into uninitialized variable ret



> -----Original Message-----
> From: Mark Brown <broonie@...nel.org>
> Sent: Wednesday, October 9, 2024 1:04 AM
> To: Colin Ian King <colin.i.king@...il.com>
> Cc: Oder Chiou <oder_chiou@...ltek.com>; Liam Girdwood
> <lgirdwood@...il.com>; Jaroslav Kysela <perex@...ex.cz>; Takashi Iwai
> <tiwai@...e.com>; Jack Yu <jack.yu@...ltek.com>;
> linux-sound@...r.kernel.org; kernel-janitors@...r.kernel.org;
> linux-kernel@...r.kernel.org
> Subject: Re: [PATCH][next] ASoC: rt-sdw-common: Fix bit-wise or'ing of values
> into uninitialized variable ret
> 
> On Tue, Oct 08, 2024 at 05:47:07PM +0100, Colin Ian King wrote:
> > There are a handful of bit-wise or'ing of values into the
> > uninitialized variable ret resulting in garbage results. Fix this by
> > ininitializing ret to zero.
> 
> I'm very disappinted in the compiler for not noticing this :(

I'm sorry for such mistake. I've sent a patch to fix this yesterday, please refer attachment.

Content of type "message/rfc822" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ