[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140304043236.GH2411@sirena.org.uk>
Date: Tue, 4 Mar 2014 12:32:36 +0800
From: Mark Brown <broonie@...nel.org>
To: Xiubo Li <Li.Xiubo@...escale.com>
Cc: lgirdwood@...il.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org, perex@...ex.cz, tiwai@...e.de
Subject: Re: [PATCH] ASoC: cache: Do the codec->reg_cache zero pionter check
On Fri, Feb 28, 2014 at 10:48:19AM +0800, Xiubo Li wrote:
> For the snd_soc_cache_init(), the reg_size maybe zero and then the value
> of codec->reg_cache, which is alloced via kzalloc, maybe equal to
> ZERO_SIZE_PTR. If the reg parameter of snd_soc_cache_write() is large enough,
> the cache[idx] = val maybe cause the kernel crash...
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists