diff options
| author | Dan Carpenter <[email protected]> | 2016-07-13 13:11:19 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-07-14 16:21:53 +0900 |
| commit | 241903641111803807c90016866d88d7ef8c9347 (patch) | |
| tree | 72e0cca7c435845b29b019965cb27b49173369f7 /net/unix/af_unix.c | |
| parent | 077e2642fbe2274e1b7b9d7c71da6cd3f69f21fd (diff) | |
dsp56k: prevent a harmless underflow
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 <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions