]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- fix refcounting error during data transfer
authorthompsa <thompsa@FreeBSD.org>
Sun, 8 Nov 2009 20:03:52 +0000 (20:03 +0000)
committerthompsa <thompsa@FreeBSD.org>
Sun, 8 Nov 2009 20:03:52 +0000 (20:03 +0000)
commitaded7665d83d8027dd037eca5ab97e468e90f785
tree977c6deb1e9004ec847ecd42fbc6b89e7dc790cc
parentff8940c7c7df8ff8fda10c9b907363bb10fc1fcf
- fix refcounting error during data transfer
- fix a memory leak on the USB backend
- fix invalid pointer computations (in one case memory outside the allocated
  area was written in LibUSB v1.0)
- make sure memory is always initialised, also in failing cases
- add missing functions from v1.0.4

PR: usb/140325
Reported by: Robert Jenssen
Submitted by: Hans Petter Selasky
MFC After: 3 days
lib/libusb/libusb.h
lib/libusb/libusb10.c
lib/libusb/libusb10_desc.c
lib/libusb/libusb10_io.c
lib/libusb/libusb20.c
lib/libusb/libusb20_desc.c
lib/libusb/libusb20_ugen20.c