import polkit-0.115-11.el8
This commit is contained in:
parent
34b189cfb0
commit
9ff2483e8d
19
SOURCES/polkit-0.115-jsauthority-memleak.patch
Normal file
19
SOURCES/polkit-0.115-jsauthority-memleak.patch
Normal file
@ -0,0 +1,19 @@
|
||||
commit 28e3a6653d8c3777b07e0128a0d97d46e586e311
|
||||
Author: Jan Rybar <jrybar@redhat.com>
|
||||
Date: Tue Oct 8 13:28:18 2019 +0000
|
||||
|
||||
jsauthority: Fix two minor memory leaks
|
||||
|
||||
diff --git a/src/polkitbackend/polkitbackendjsauthority.cpp b/src/polkitbackend/polkitbackendjsauthority.cpp
|
||||
index 9b752d1..e97b8aa 100644
|
||||
--- a/src/polkitbackend/polkitbackendjsauthority.cpp
|
||||
+++ b/src/polkitbackend/polkitbackendjsauthority.cpp
|
||||
@@ -567,6 +567,8 @@ polkit_backend_js_authority_finalize (GObject *object)
|
||||
g_strfreev (authority->priv->rules_dirs);
|
||||
|
||||
delete authority->priv->ac;
|
||||
+ delete authority->priv->js_global;
|
||||
+ delete authority->priv->js_polkit;
|
||||
|
||||
JS_DestroyContext (authority->priv->cx);
|
||||
/* JS_ShutDown (); */
|
12
SOURCES/polkit-0.115-pkttyagent-tcsaflush-batch-erase.patch
Normal file
12
SOURCES/polkit-0.115-pkttyagent-tcsaflush-batch-erase.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up ./src/programs/pkttyagent.c.ori ./src/programs/pkttyagent.c
|
||||
--- ./src/programs/pkttyagent.c.ori 2019-09-27 14:14:35.096310576 +0200
|
||||
+++ ./src/programs/pkttyagent.c 2019-09-27 14:14:56.988586737 +0200
|
||||
@@ -55,7 +55,7 @@ static void tty_handler(int signal)
|
||||
|
||||
if (tty_flags_saved)
|
||||
{
|
||||
- tcsetattr (fileno (tty), TCSAFLUSH, &ts);
|
||||
+ tcsetattr (fileno (tty), TCSADRAIN, &ts);
|
||||
}
|
||||
|
||||
kill(getpid(), signal);
|
@ -6,7 +6,7 @@
|
||||
Summary: An authorization framework
|
||||
Name: polkit
|
||||
Version: 0.115
|
||||
Release: 9%{?dist}
|
||||
Release: 11%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://www.freedesktop.org/wiki/Software/polkit
|
||||
Source0: http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
|
||||
@ -23,6 +23,8 @@ Patch6: polkit-0.115-CVE-2019-6133.patch
|
||||
Patch7: polkit-0.115-pkttyagent-tty-echo-off-on-fail.patch
|
||||
Patch8: polkit-0.115-allow-uid-of-1.patch
|
||||
Patch9: polkit-0.115-move-to-mozjs60.patch
|
||||
Patch10: polkit-0.115-jsauthority-memleak.patch
|
||||
Patch11: polkit-0.115-pkttyagent-tcsaflush-batch-erase.patch
|
||||
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
@ -188,6 +190,14 @@ exit 0
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
|
||||
%changelog
|
||||
* Mon Nov 04 2019 Jan Rybar <jrybar@redhat.com> - 0.115-11
|
||||
- pkttyagent: resetting terminal erases rest of input line
|
||||
- Resolves: rhbz#1757853
|
||||
|
||||
* Tue Oct 29 2019 Jan Rybar <jrybar@redhat.com> - 0.115-10
|
||||
- Fix of jasuthority memleak
|
||||
- Resolves: rhbz#1745918
|
||||
|
||||
* Tue Sep 10 2019 Jan Rybar <jrybar@redhat.com> - 0.115-9
|
||||
- Rebuild to reflect mozjs60 s390 abi change
|
||||
- Related: rhbz#1746889
|
||||
|
Loading…
Reference in New Issue
Block a user