diff options
author | mac Wang <6045490+liangyunwang@users.noreply.github.com> | 2019-04-08 14:03:36 -0700 |
---|---|---|
committer | Nathan Hjelm <hjelmn@me.com> | 2019-04-08 17:50:06 -0600 |
commit | 93dcb8ed205a4e4cea105c2141fbbbdeac84bb66 (patch) | |
tree | 1bdf22f410bb05525afdd08670767e1c5ebba6ef | |
parent | acaa806ed0d3ec0ee84697ae6bd9ae7a5d031ada (diff) | |
download | libusb-93dcb8ed205a4e4cea105c2141fbbbdeac84bb66.tar.gz |
Issue 555: Memory passed to ioctl is not initialized in reap_for_handle
Closes #557
Closes #555
Signed-off-by: Nathan Hjelm <hjelmn@me.com>
-rw-r--r-- | libusb/os/linux_usbfs.c | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libusb/os/linux_usbfs.c b/libusb/os/linux_usbfs.c index a6b7963..84f59c3 100644 --- a/libusb/os/linux_usbfs.c +++ b/libusb/os/linux_usbfs.c @@ -2716,7 +2716,7 @@ static int reap_for_handle(struct libusb_device_handle *handle) { struct linux_device_handle_priv *hpriv = _device_handle_priv(handle); int r; - struct usbfs_urb *urb; + struct usbfs_urb *urb = NULL; struct usbi_transfer *itransfer; struct libusb_transfer *transfer; diff --git a/libusb/version_nano.h b/libusb/version_nano.h index da94a6c..a39576f 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11365 +#define LIBUSB_NANO 11366 |