!52 fix core dump problem
From: @godvi Reviewed-by: @houmingyong, @HuaxinLuGitee Signed-off-by: @HuaxinLuGitee
This commit is contained in:
commit
41d71999f7
25
fix-core-dump-problem.patch
Normal file
25
fix-core-dump-problem.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 7a3d37507332ee57993ab0822dc111c448cd2401 Mon Sep 17 00:00:00 2001
|
||||||
|
From: shenxiangwei <shenxiangwei1@huawei.com>
|
||||||
|
Date: Thu, 8 Dec 2022 09:07:43 +0800
|
||||||
|
Subject: [PATCH] fix core dump problem
|
||||||
|
|
||||||
|
---
|
||||||
|
src/programs/pkcheck.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/programs/pkcheck.c b/src/programs/pkcheck.c
|
||||||
|
index 768525c..ea811b1 100644
|
||||||
|
--- a/src/programs/pkcheck.c
|
||||||
|
+++ b/src/programs/pkcheck.c
|
||||||
|
@@ -554,7 +554,7 @@ main (int argc, char *argv[])
|
||||||
|
{
|
||||||
|
g_printerr ("Error checking for authorization %s: %s\n",
|
||||||
|
action_id,
|
||||||
|
- error->message);
|
||||||
|
+ error ? error->message : "");
|
||||||
|
ret = 127;
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: polkit
|
Name: polkit
|
||||||
Version: 0.120
|
Version: 0.120
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: Define and Handle authorizations tool
|
Summary: Define and Handle authorizations tool
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://www.freedesktop.org/wiki/Software/polkit
|
URL: http://www.freedesktop.org/wiki/Software/polkit
|
||||||
@ -12,6 +12,7 @@ Patch1: backport-CVE-2021-4034.patch
|
|||||||
Patch2: backport-CVE-2021-4115-GHSL-2021-077-fix.patch
|
Patch2: backport-CVE-2021-4115-GHSL-2021-077-fix.patch
|
||||||
Patch3: backport-Added-support-for-duktape-as-JS-engine.patch
|
Patch3: backport-Added-support-for-duktape-as-JS-engine.patch
|
||||||
Patch4: backport-build-Add-fallback-looking-for-duktape-s-library-and.patch
|
Patch4: backport-build-Add-fallback-looking-for-duktape-s-library-and.patch
|
||||||
|
Patch5: fix-core-dump-problem.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++ glib2-devel >= 2.30.0 expat-devel pam-devel gtk-doc intltool
|
BuildRequires: gcc-c++ glib2-devel >= 2.30.0 expat-devel pam-devel gtk-doc intltool
|
||||||
BuildRequires: gobject-introspection-devel systemd systemd-devel
|
BuildRequires: gobject-introspection-devel systemd systemd-devel
|
||||||
@ -130,6 +131,9 @@ exit 0
|
|||||||
%{_datadir}/man/man8/*
|
%{_datadir}/man/man8/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 15 2022 shenxiangwei <shenxiangwei1@huawei.com> - 0.120-8
|
||||||
|
- fix core dump problem
|
||||||
|
|
||||||
* Fri Nov 11 2022 wangyu <wangyu283@huawei.com> - 0.120-7
|
* Fri Nov 11 2022 wangyu <wangyu283@huawei.com> - 0.120-7
|
||||||
- remake even configure scripts and configuration headers that are newer than their input files
|
- remake even configure scripts and configuration headers that are newer than their input files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user