File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ diff -Naur a/src/cd-device-db.c b/src/cd-device-db.c
2+ --- a/src/cd-device-db.c 2019-03-08 04:43:10.000000000 -0800
3+ +++ b/src/cd-device-db.c 2022-09-01 17:19:29.006382333 -0700
4+ @@ -91,7 +91,7 @@
5+
6+ /* check properties version 2 */
7+ rc = sqlite3_exec (priv->db, "SELECT * FROM properties_v2 LIMIT 1",
8+ - NULL, NULL, &error_msg);
9+ + NULL, NULL, NULL);
10+ if (rc != SQLITE_OK) {
11+ statement = "CREATE TABLE properties_v2 ("
12+ "device_id TEXT,"
13+ diff -Naur a/src/cd-profile-db.c b/src/cd-profile-db.c
14+ --- a/src/cd-profile-db.c 2019-03-08 04:43:11.000000000 -0800
15+ +++ b/src/cd-profile-db.c 2022-09-01 17:21:45.006213393 -0700
16+ @@ -79,7 +79,7 @@
17+
18+ /* check schema */
19+ rc = sqlite3_exec (priv->db, "SELECT * FROM properties_pu LIMIT 1",
20+ - NULL, NULL, &error_msg);
21+ + NULL, NULL, NULL);
22+ if (rc != SQLITE_OK) {
23+ statement = "CREATE TABLE properties_pu ("
24+ "profile_id TEXT,"
Original file line number Diff line number Diff line change 77Summary: Color daemon
88Name: colord
99Version: 1.4.4
10- Release: 8 %{?dist }
10+ Release: 9 %{?dist }
1111License: GPLv2+ and LGPLv2+
1212Vendor: Microsoft Corporation
1313Distribution: Mariner
1414URL: https://www.freedesktop.org/software/colord/
1515Source0: https://www.freedesktop.org/software/colord/releases/%{name }-%{version }.tar.xz
1616Source1: %{name }-LGPLv2.txt
17+ Patch0: CVE-2021-42523.patch
1718BuildRequires: bash-completion
1819BuildRequires: color-filesystem
1920BuildRequires: dbus-devel
@@ -87,7 +88,7 @@ Summary: Data files for installed tests
8788Data files for installed tests.
8889
8990%prep
90- %setup -q
91+ %autosetup -p1
9192cp %{SOURCE1 } COPYING-LGPLv2.txt
9293
9394%build
@@ -233,6 +234,9 @@ exit 0
233234%{_datadir }/installed-tests/colord/*
234235
235236%changelog
237+ *
Thu Sep 01 2022 Henry Beberman <[email protected] > -
1.4.4-9 238+ - Patch CVE-2021-42523 to remove unused error_msg pointers.
239+
236240*
Wed Dec 08 2021 Thomas Crain <[email protected] > -
1.4.4-8 237241- License verified, added LGPLv2 license text
238242- Lint spec
You can’t perform that action at this time.
0 commit comments