Re: [PATCH] ALSA: pcm: potential uninitialized return values

From: Takashi Iwai
Date: Tue Mar 27 2018 - 09:21:29 EST


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@xxxxxxxxxx>

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


Takashi