[alsa-devel] [PATCH] ASoC: cache: Fix possible ZERO_SIZE_PTR pointer dereferencing error.
Mark Brown
broonie at kernel.org
Sun Jun 1 21:02:30 CEST 2014
On Mon, May 19, 2014 at 04:32:09PM +0800, Xiubo Li wrote:
> Since we cannot make sure the 'reg_size' will always be none zero here,
> and then if 'reg_size' equals to zero, the kzalloc() will return ZERO_SIZE_PTR,
> which equals to ((void *)16).
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140601/cdcf0c14/attachment.sig>
More information about the Alsa-devel
mailing list