Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sd-device: fix segfault when error occurs in device_new_from_{nulstr,…
…strv}() As devpath may not be set yet. When debug logging is enabled, log_device_*() calls sd_device_get_sysname(). So, we should not assume that devpath is always set. Fixes #11258.
- Loading branch information