diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2012-08-08 12:53:07 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-10 12:06:39 -0700 |
commit | 05f2b3912323b4130dbf6d5091601d9ca3aaf119 (patch) | |
tree | b92d2ba4a7244ed594cb717334004190c9b376ec /Documentation/usb | |
parent | e58ba01e2cfe7b7d54d28f78c7af3cff4d5419a3 (diff) | |
download | linux-05f2b3912323b4130dbf6d5091601d9ca3aaf119.tar.gz linux-05f2b3912323b4130dbf6d5091601d9ca3aaf119.tar.bz2 linux-05f2b3912323b4130dbf6d5091601d9ca3aaf119.zip |
USB: whci-hcd: Fix potential memory leak in qset_add_urb_sg()
Do not leak memory by updating pointer with potentially
NULL realloc return value.
By the way remove unused local variable:
struct whc_page_list_entry *entry;
More precisely, it was used to increment uninitialized value within one of cycles.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/usb')
0 files changed, 0 insertions, 0 deletions