mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
commit5607dddbfcupstream. Smatch complains that "tmp" can be uninitialized if we do a zero size write. Fixes:02a5d6925c("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>