[alsa-devel] [PATCH] ALSA: pcm: potential uninitialized return values

Takashi Iwai tiwai at suse.de
Tue Mar 27 15:21:20 CEST 2018


On Tue, 27 Mar 2018 15:07:52 +0200,
Dan Carpenter wrote:
> 
> Smatch complains that "tmp" can be uninitialized if we do a zero size
> write.
> 
> Fixes: 02a5d6925cd3 ("ALSA: pcm: Avoid potential races between OSS ioctls and read/write")
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks, that's an oversight indeed.  Applied now.


Takashi


More information about the Alsa-devel mailing list