[alsa-devel] [PATCH][ASoC V2] Fix null-pointer	dereference	in	soc_create_pcm()
    Takashi Iwai 
    tiwai at suse.de
       
    Wed May 21 12:36:40 CEST 2008
    
    
  
At Tue, 20 May 2008 12:31:30 +0100,
Mark Brown wrote:
> 
> On Mon, May 19, 2008 at 05:45:59PM -0500, Timur Tabi wrote:
> > When soc_create_pcm() finds all four components it needs, it displays a status
> > message.  This message references the local variables 'codec_dai' and
> > 'cpu_dai', but these variables are initialized only when the codec DAI and the
> > cpu DAI are the last to be registered.  This patch changes the code to use the
> > stored values instead of the local variables.
> 
> Thanks, applied.
This looks applicable to the upstream tree... Shouldn't it be fixed as
well?
thanks,
Takashi
    
    
More information about the Alsa-devel
mailing list