]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: pcm: signedness bug in snd_pcm_plug_alloc()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 27 Aug 2018 09:21:45 +0000 (12:21 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Aug 2018 09:28:40 +0000 (11:28 +0200)
commit6f128fa41f310e1f39ebcea9621d2905549ecf52
treef38615fd917350f140723f96673a68c04414741e
parent1bb6d9e2f682a401417f925d602de992c559b057
ALSA: pcm: signedness bug in snd_pcm_plug_alloc()

The "frames" variable is unsigned so the error handling doesn't work
properly.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/oss/pcm_plugin.c