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] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150526094422.GI21577@sirena.org.uk>
Date:	Tue, 26 May 2015 10:44:22 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Takashi Iwai <tiwai@...e.de>
Cc:	"Maciej S. Szmigiero" <mail@...iej.szmigiero.name>,
	"alsa-devel@...a-project.org" <alsa-devel@...a-project.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	patches@...nsource.wolfsonmicro.com,
	Liam Girdwood <lgirdwood@...il.com>,
	Jaroslav Kysela <perex@...ex.cz>,
	Lars-Peter Clausen <lars@...afoo.de>,
	Daniel Mack <daniel@...que.org>,
	Wolfram Sang <wsa@...-dreams.de>,
	Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
	Matt Reimer <mreimer@...systems.com>
Subject: Re: [PATCH] ASoC: codecs: use SNDRV_PCM_FMTBIT_* for format bitmask

On Tue, May 26, 2015 at 07:29:57AM +0200, Takashi Iwai wrote:
> Maciej S. Szmigiero wrote:

> > Found out by sparse on 0-day kernel tester.

> Wow, that made me wonder how these drivers could actually work.

AFAICT the bits were being set by being ored in from the sequential
values.

> BTW, how did you detect it?  Any static analyzer like sparse or
> smatch?  sparse didn't detect it at the last time I tried, IIRC...

Commit log says sparse.

Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ