[alsa-devel] [patch] ALSA: pcm: harmless underflow issue in snd_pcm_sw_params()

Dan Carpenter dan.carpenter at oracle.com
Tue Oct 13 14:06:07 CEST 2015


On Tue, Oct 13, 2015 at 11:39:41AM +0200, Takashi Iwai wrote:
> On Tue, 13 Oct 2015 09:07:56 +0200,
> Dan Carpenter wrote:
> > 
> > "params->tstamp_mode" is a user supplied int.  We cap the maximum but
> > allow negative values by mistake.  It's harmless but static checkers
> > complain.
> > 
> > Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>
> 
> You already sent the same fix and it was applied in the commit
> 145d92e77e6f.
> 

Oops.  Sorry about that.

regards,
dan carpenter



More information about the Alsa-devel mailing list