[alsa-devel] [PATCH] ASoC: tlv320aic3x: Fix null pointer dereference when pdata is not set
broonie at opensource.wolfsonmicro.com
Mon Sep 6 11:45:14 CEST 2010
On Sun, Sep 05, 2010 at 07:10:22PM +0300, Jarkko Nikula wrote:
> Null pointer dereference will occur from *setup = pdata->setup if pdata
> is not set. Fix this by moving assignments from pdata inside non-null case.
> Thanks to Jiri Slaby <jirislaby at gmail.com> for noticing.
> Signed-off-by: Jarkko Nikula <jhnikula at gmail.com>
> Cc: Jiri Slaby <jirislaby at gmail.com>
Acked-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
More information about the Alsa-devel