Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Crash on Ubuntu 18.04 #155

Open
crogerscare opened this issue Dec 13, 2021 · 0 comments
Open

Crash on Ubuntu 18.04 #155

crogerscare opened this issue Dec 13, 2021 · 0 comments

Comments

@crogerscare
Copy link

crogerscare commented Dec 13, 2021

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants