[Debian-on-mobile-maintainers] Bug#1030969: fails to map domains if /lib/firmware/updates is not present
Dmitry Baryshkov
dbaryshkov at gmail.com
Fri Feb 10 01:52:02 GMT 2023
Source: protection-domain-mapper
Version: 1.0-3
Severity: grave
Tags: patch
Recent additions to enable /lib/firmware/updates broke pd-mapper for all
other systems. Improper error handling of opendir() results in segfaults
and duplicated dirname() call results in looking for the JSON file in
the wrong directory.
The proposed fixes are posted at [1]. Please consider applying
Also could you please post your proposals to Bjorn's github so that we
can review them?
[1] https://salsa.debian.org/DebianOnMobile-team/protection-domain-mapper/-/merge_requests/3
--
With best wishes
Dmitry
-- System Information:
Debian Release: bookworm/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-3-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
More information about the Debian-on-mobile-maintainers
mailing list