signal11/hidapi — pull request #153 by hansmi (2013-12-19 02:33:46+00:00)
Title: libusb/hid_open: Fix null pointer dereference

When libusb can't open a device for any reason (e.g. file system permissions), hid_device_info.serial_number is NULL. Calling wcscmp(3) with NULL leads to a NULL pointer dereference, crashing the program.