Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1442535

Re: [patch] dsp56k: prevent a harmless underflow

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [patch] dsp56k: prevent a harmless underflow
Date 2016-07-13 17:10 +0200
Message-ID <rUtXs-4Ju-29@gated-at.bofh.it> (permalink)
References <rUpqO-1JD-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wednesday, July 13, 2016 1:11:19 PM CEST Dan Carpenter wrote:
> There is a mistake here where we don't allow "len" to be zero but we
> allow negative lengths.  It's basically harmless in this case, but the
> underflow makes my static checker complain.
> 
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
> 

Reviewed-by: Arnd Bergmann <arnd@arndb.de>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[patch] dsp56k: prevent a harmless underflow Dan Carpenter <dan.carpenter@oracle.com> - 2016-07-13 12:20 +0200
  Re: [patch] dsp56k: prevent a harmless underflow Arnd Bergmann <arnd@arndb.de> - 2016-07-13 17:10 +0200

csiph-web