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

Crash on Ubuntu 18.04 #155

@crogerscare

Description

@crogerscare

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions