Windows: UsbDk: Implement get_config_descriptor_by_value()
authorChris Dickens <christopher.a.dickens@gmail.com>
Sat, 24 Feb 2018 10:02:03 +0000 (02:02 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Sat, 24 Feb 2018 10:02:03 +0000 (02:02 -0800)
commit8e03a6586c54626fe8e62016258f7238f1872978
tree7a87e436a944622ce59f60820b91543185c85c8b
parent8551e4a7a27c1aafac3138d0fb23821bfe3bf180
Windows: UsbDk: Implement get_config_descriptor_by_value()

This fixes a NULL pointer dereference when the user selects the UsbDk
backend and subsequently calls libusb_get_config_descriptor_by_value().

Closes #395

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
libusb/os/windows_usbdk.c
libusb/version_nano.h