Commit 9f249188 authored by Dan Carpenter's avatar Dan Carpenter Committed by Ben Hutchings
Browse files

ALSA: pcm: potential uninitialized return values



commit 5607dddb upstream.

Smatch complains that "tmp" can be uninitialized if we do a zero size
write.

Fixes: 02a5d692 ("ALSA: pcm: Avoid potential races between OSS ioctls and read/write")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
parent 19277917
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment