You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
We have an Onyx Venus system with a button that disables and enables the touchscreen. It does this by removing the power to the USB port. If this button is hit multiple types, we eventually get a segfault because strtol() is called from usb-detection with the first parameter set to NULL.
Look at GetProperties() in detection_linux.cpp, there is no NULL check for udev_device_get_sysattr_value(dev,"idVendor") or udev_device_get_sysattr_value(dev,"idProduct"). So it looks like one or both of these calls is returning NULL.
The text was updated successfully, but these errors were encountered:
We have an Onyx Venus system with a button that disables and enables the touchscreen. It does this by removing the power to the USB port. If this button is hit multiple types, we eventually get a segfault because
strtol()
is called fromusb-detection
with the first parameter set toNULL
.Look at
GetProperties()
indetection_linux.cpp
, there is noNULL
check forudev_device_get_sysattr_value(dev,"idVendor")
orudev_device_get_sysattr_value(dev,"idProduct")
. So it looks like one or both of these calls is returningNULL
.The text was updated successfully, but these errors were encountered: