From 23b458c053a6b13aee9dbd41f4978616d49b39a9 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 9 Dec 2022 14:10:09 +0000 Subject: [PATCH] import usbguard-1.0.0-10.el8 --- SOURCES/usbguard-dbus-CVE-leak.patch | 4 ++-- SPECS/usbguard.spec | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/SOURCES/usbguard-dbus-CVE-leak.patch b/SOURCES/usbguard-dbus-CVE-leak.patch index 8cb981f..f34290a 100644 --- a/SOURCES/usbguard-dbus-CVE-leak.patch +++ b/SOURCES/usbguard-dbus-CVE-leak.patch @@ -1,6 +1,6 @@ diff -up usbguard-1.0.0/src/DBus/DBusBridge.cpp.orig usbguard-1.0.0/src/DBus/DBusBridge.cpp ---- usbguard-1.0.0/src/DBus/DBusBridge.cpp.orig 2022-10-18 10:15:30.730138795 +0200 -+++ usbguard-1.0.0/src/DBus/DBusBridge.cpp 2022-10-18 10:15:55.773153276 +0200 +--- usbguard-1.0.0/src/DBus/DBusBridge.cpp.orig 2022-10-18 10:33:04.498762878 +0200 ++++ usbguard-1.0.0/src/DBus/DBusBridge.cpp 2022-10-18 10:33:36.920785285 +0200 @@ -434,12 +434,11 @@ namespace usbguard USBGUARD_LOG(Trace) << "Connecting with Polkit authority..."; PolkitAuthority* const authority = polkit_authority_get_sync(/*cancellable=*/ NULL, &error); diff --git a/SPECS/usbguard.spec b/SPECS/usbguard.spec index c948ff6..814b136 100644 --- a/SPECS/usbguard.spec +++ b/SPECS/usbguard.spec @@ -8,7 +8,7 @@ Name: usbguard Version: 1.0.0 -Release: 8%{?dist}.2 +Release: 10%{?dist} Summary: A tool for implementing USB device usage policy Group: System Environment/Daemons License: GPLv2+ @@ -318,10 +318,10 @@ fi %changelog -* Wed Aug 24 2022 Attila Lakatos - 1.0.0-8.2 +* Wed Aug 24 2022 Attila Lakatos - 1.0.0-10 - Fix unauthorized access via D-bus -- Fix memory leak on D-bus connection failure -Resolves: rhbz#2127848 +- Fix memory leaks on connection failure to D-bus +Resolves: rhbz#2059067 * Mon Nov 29 2021 Zoltan Fridrich - 1.0.0-8 - change usbguard icon injection