commit | 58eaa556bd0a8d1c6a9b06a37758ab147cd55501 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Mar 27 16:07:52 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Apr 08 14:26:27 2018 +0200 |
tree | faa5d4b9f2fe5a1295dddde032a2a2a9bb440152 | |
parent | 17c9ea37cb6068765e770a3b4b8dc33f69a8c935 [diff] |
ALSA: pcm: potential uninitialized return values commit 5607dddbfca774fb38bffadcb077fe03aa4ac5c6 upstream. 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@oracle.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>