Debian Patches

Status for colord/1.4.7-3

Patch Description Author Forwarded Bugs Origin Last update
Fix-writing-to-the-database-with-ProtectSystem-strict.patch Fix writing to the database with ProtectSystem=strict
Fixes https://github.com/hughsie/colord/issues/166

(cherry picked from commit 08a32b2379fb5582f4312e59bf51a2823df56276)
Richard Hughes <[email protected]> no upstream after 1.4.7 2024-01-29
Fix-USB-scanners-not-working-with-RestrictAddressFamilies.patch Fix USB scanners not working with RestrictAddressFamilies
colord-sane scanner drivers using libusb can't initialize properly with
RestrictAddressFamilies set to AF_UNIX. Remove that line to ensure those
can work properly.

This also avoids a crash in HPLIP due to unchecked calls to libusb_init().

Fixes #165

(cherry picked from commit 9283abd9c00468edb94d2a06d6fa3681cae2700d)
Ferdinand Bachmann <[email protected]> no upstream after 1.4.7 2024-01-30
fix-NULL-passed-to-free-with-sqlite3-error_msg-pointers.patch fix NULL passed to free with sqlite3 error_msg pointers
when an error does not happen, and an error_msg pointer is passed,
sqlite does not touch it. that means this pointer is uninitialised
(=NULL) which violates the constraints of g_autofree ("the variable must
be initialized").

this is then passed to g_free and crashes in tests.

use a regular pointer and free it manually on error, after sqlite writes
to it after setting it with sqlite_malloc.

fixes https://github.com/hughsie/colord/issues/163

(cherry picked from commit 7435d9c23a1d3bc138dcae0e05ea06fb244568fe)
psykose <[email protected]> no upstream after 1.4.7 2024-02-08
use-char-instead-of-gchar-for-pointers-passed-to-sqlite3_.patch use char * instead of gchar * for pointers passed to sqlite3_exec
(cherry picked from commit d8076a16ea1f4437cca3799d414faf40cddae955)
psykose <[email protected]> no upstream after 1.4.7 2024-02-08
use-g_autoptr-again-but-with-a-custom-CLEANUP_FUNC.patch use g_autoptr again but with a custom CLEANUP_FUNC
my prior analysis was completely wrong, and the original crash was seen
because sqlite3_malloc pointers passed to g_free cause a mismatched
malloc/free, not because of lack of initialisation.

use autoptr with an overriden CLEANUP_FUNC instead. for
cd_mapping_db_load/cd_device_db_remove, keep using manual sqlite3_free
since we reuse the same error_msg multiple times.

(cherry picked from commit f4fdb66d0399e3223c068c663e7621ea19b71a7b)
psykose <[email protected]> no upstream after 1.4.7 2024-02-12
1000-appstream-metainfo.patch Added AppStream metainfo XML with hardware provide info.
Instal it in /usr/share/metainfo/. This allow isenkram to
propose this package the right hardware is present.

The provides list was generated using

for m in $(grep ATT rules/69-cd-sensors.rules.in|cut -d\" -f2,4 | \
tr a-z A-Z|tr \" p); do echo "<modalias>usb:v${m}d*</modalias>"
done

This issue started in https://bugs.debian.org/1077046 .
Petter Reinholdtsen <[email protected]> no upstream, after 1.4.7 2025-01-18

All known versions for source package 'colord'

Links



OSZAR »