rpms/acl/F-8 acl-2.2.39-segfault.patch,NONE,1.1 acl.spec,1.46,1.47
Jiří Moskovčák (jmoskovc)
fedora-extras-commits at redhat.com
Mon Jan 28 15:05:18 UTC 2008
Author: jmoskovc
Update of /cvs/extras/rpms/acl/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv432
Modified Files:
acl.spec
Added Files:
acl-2.2.39-segfault.patch
Log Message:
Fixes 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-8/acl.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- acl.spec 8 Nov 2007 13:56:28 -0000 1.46
+++ acl.spec 28 Jan 2008 15:04:41 -0000 1.47
@@ -1,7 +1,7 @@
Summary: Access control list utilities
Name: acl
Version: 2.2.39
-Release: 12%{?dist}
+Release: 13%{?dist}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libattr-devel >= 2.4.1
BuildRequires: autoconf, libtool >= 1.5, gettext, gawk
@@ -13,6 +13,7 @@
Patch4: acl-2.2.39-params.patch
Patch5: acl-2.2.39-man.patch
Patch6: acl-2.2.39-exitcode.patch
+Patch7: acl-2.2.39-segfault.patch
License: GPL
Group: System Environment/Base
URL: http://oss.sgi.com/projects/xfs/
@@ -54,6 +55,7 @@
%patch4 -p1 -b .params
%patch5 -p1 -b .man
%patch6 -p1 -b .exitcode
+%patch7 -p1 -b .segfault
autoconf
%build
@@ -109,6 +111,10 @@
/%{_lib}/libacl.so.*
%changelog
+* Mon Jan 28 2008 Jiri Moskovcak <jmoskovc at redhat.com> 2.2.39-13
+- Fixed segfault when using only "--" as parameter
+- Resolves: #430458
+
* Thu Nov 8 2007 Jiri Moskovcak <jmoskovc at redhat.com> 2.2.39-12
- Fixed setfacl exitcodes
More information about the fedora-extras-commits
mailing list