diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-11-17 19:06:11 +0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-22 01:32:26 +0400 |
| commit | 564e69893c63cefe4bcbdeda4f940bf68b6b4491 (patch) | |
| tree | d7563b2a16afe3f6d0afcfd290e6b1c6a3650d05 /tools/perf/scripts/python/syscall-counts.py | |
| parent | fb4e98ab63433c4d3a1588ea91c73f1cd7ebaa00 (diff) | |
| download | linux-564e69893c63cefe4bcbdeda4f940bf68b6b4491.tar.xz | |
USB: usbtest: prevent a divide by zero bug
If param->length is zero, then this could lead to a divide by zero bug
later in the function when we do: size %= max;
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
