rpms/acl/F-7 acl-2.2.39-segfault.patch,NONE,1.1 acl.spec,1.35,1.36

Jiří Moskovčák (jmoskovc) fedora-extras-commits at redhat.com
Mon Jan 28 15:38:28 UTC 2008


Author: jmoskovc

Update of /cvs/extras/rpms/acl/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2133

Modified Files:
	acl.spec 
Added Files:
	acl-2.2.39-segfault.patch 
Log Message:
Fixed segfault when using only "--" as parameter (rhbz#430458)


acl-2.2.39-segfault.patch:

--- NEW FILE acl-2.2.39-segfault.patch ---
--- acl-2.2.45/setfacl/setfacl.c.segfault	2008-01-28 13:56:36.000000000 +0100
+++ acl-2.2.45/setfacl/setfacl.c	2008-01-28 13:58:08.000000000 +0100
@@ -679,6 +679,8 @@ int main(int argc, char *argv[])
 		}
 	}
 	while (optind < argc) {
+		if(!seq)
+			goto synopsis;
 		if (seq_empty(seq))
 			goto synopsis;
 		saw_files = 1;


Index: acl.spec
===================================================================
RCS file: /cvs/extras/rpms/acl/F-7/acl.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -r1.35 -r1.36
--- acl.spec	8 Nov 2007 14:08:28 -0000	1.35
+++ acl.spec	28 Jan 2008 15:37:54 -0000	1.36
@@ -1,7 +1,7 @@
 Summary: Access control list utilities
 Name: acl
 Version: 2.2.39
-Release: 6%{?dist}
+Release: 7%{?dist}
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libattr-devel >= 2.4.1
 Source: ftp://oss.sgi.com/projects/xfs/cmd_tars/acl_%{version}-1.tar.gz
@@ -10,6 +10,7 @@
 Patch2: acl-2.2.39-path_max.patch
 Patch3: acl-2.2.39-walk.patch
 Patch4: acl-2.2.39-exitcode.patch
+Patch5: acl-2.2.39-segfault.patch
 BuildRequires: autoconf, libtool >= 1.5, gettext
 License: GPL
 Group: System Environment/Base
@@ -49,6 +50,7 @@
 %patch2 -p1 -b .path_max
 %patch3 -p1 -b .walk
 %patch4 -p1 -b .exitcode
+%patch5 -p1 -b .segfault
 autoconf
 
 %build
@@ -104,6 +106,10 @@
 /%{_lib}/libacl.so.*
 
 %changelog
+* Mon Jan 28 2008 Jiri Moskovcak <jmoskovc at redhat.com> 2.2.39-7
+- Fixed segfault when using only "--" as parameter
+- Resolves: #430458
+
 * Thu Nov  8 2007 Jiri Moskovcak <jmoskovc at redhat.com> 2.2.39-6
 - Fixed setfacl exitcodes
 




More information about the fedora-extras-commits mailing list