supercollider / hidapi

A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac, and Windows.
http://www.signal11.us/oss/hidapi/
Other
13 stars 14 forks source link

Fix counter bug in hid_parse_input_report() #3

Closed jmckernon closed 7 years ago

jmckernon commented 7 years ago

Initialize the counter variable i to zero in hid_parse_input_report(), fixing a bug whereby a segfault can happen when the function is entered more than once.

telephon commented 7 years ago

looks good! thank you.