Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Verify parent_dev before calling udev_device_get_sysattr_value
Not all udev devices have parent devices. Calling udev_device_get_ functions yield an assertion error if called with a NULL pointer. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Signed-off-by: Sietse <[email protected]> Co-authored-by: Sietse <[email protected]> Closes #16705 Closes #16717
- Loading branch information