[eiciel] Patch open_file() file not found crash (#811460).

Michael Schwendt mschwendt at fedoraproject.org
Wed Apr 11 15:21:57 UTC 2012


commit b4813bbebafbad6b6f3085886d916876a2bd02ec
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Wed Apr 11 17:21:53 2012 +0200

    Patch open_file() file not found crash (#811460).

 eiciel-0.9.8.1-no-such-file.patch |   11 +++++++++++
 eiciel.spec                       |    8 +++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/eiciel-0.9.8.1-no-such-file.patch b/eiciel-0.9.8.1-no-such-file.patch
new file mode 100644
index 0000000..000e9f6
--- /dev/null
+++ b/eiciel-0.9.8.1-no-such-file.patch
@@ -0,0 +1,11 @@
+diff -Nurb --strip-trailing-cr eiciel-0.9.8.1-orig/src/eiciel_xattr_controller.cpp eiciel-0.9.8.1/src/eiciel_xattr_controller.cpp
+--- eiciel-0.9.8.1-orig/src/eiciel_xattr_controller.cpp	2010-06-02 22:38:27.000000000 +0200
++++ eiciel-0.9.8.1/src/eiciel_xattr_controller.cpp	2012-04-11 17:16:09.435232311 +0200
+@@ -29,6 +29,7 @@
+ 	if (_xattr_manager != NULL)
+ 	{
+ 		delete _xattr_manager;
++        _xattr_manager = NULL;
+ 	}
+ 
+ 	try
diff --git a/eiciel.spec b/eiciel.spec
index 151701f..b2248a6 100644
--- a/eiciel.spec
+++ b/eiciel.spec
@@ -1,6 +1,6 @@
 Name: eiciel
 Version: 0.9.8.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 Summary: Graphical editor for ACLs and xattr
 Group: Applications/System
 License: GPLv2+
@@ -17,6 +17,8 @@ Patch0: eiciel-0.9.8-fedora_sys_usergroups.patch
 Patch1: eiciel-0.9.8.1-LDFLAGS.patch
 #
 Patch2: eiciel-0.9.8.1-desktop-file.patch
+# bz 811460
+Patch3: eiciel-0.9.8.1-no-such-file.patch
 
 BuildRequires: libgnomeui-devel
 BuildRequires: libacl-devel
@@ -46,6 +48,7 @@ utility.
 %endif
 %patch1 -p1 -b .LDFLAGS
 %patch2 -p1 -b .desktop-file
+%patch3 -p1 -b .no-such-file-crash
 
 iconv -f ISO-8859-1 -t UTF-8 AUTHORS > foo
 mv foo AUTHORS
@@ -82,6 +85,9 @@ desktop-file-install --vendor fedora                        \
 
 
 %changelog
+* Wed Apr 11 2012 Michael Schwendt <mschwendt at fedoraproject.org> - 0.9.8.1-5
+- Patch open_file() file not found crash (#811460).
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.8.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list