[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Findutils-patches] patch for bug 20871
From: |
Eric Blake |
Subject: |
[Findutils-patches] patch for bug 20871 |
Date: |
Wed, 22 Aug 2007 12:24:03 -0600 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
OK to apply?
2007-08-22 Eric Blake <address@hidden>
Fix Savannah bug #20871.
* find/find.c (main): Remove bogus assertion.
* NEWS: Document the fix.
- --
Don't work too hard, make some time for fun as well!
Eric Blake address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGzH9D84KuGfSFAYARAs38AJsG/qkNWj6weEyY6Za7kKJ1ScfIWACfev9a
EE1mTMQVLg54stAUKkUUzJs=
=RQVU
-----END PGP SIGNATURE-----
Index: NEWS
===================================================================
RCS file: /sources/findutils/findutils/NEWS,v
retrieving revision 1.203
diff -u -p -r1.203 NEWS
--- NEWS 21 Aug 2007 13:40:26 -0000 1.203
+++ NEWS 22 Aug 2007 18:23:01 -0000
@@ -34,6 +34,9 @@ gnulib dirname module. The leak had bee
#20751: Avoid memory corruption in find -ls that has been present
since 4.3.1.
+#20871: Assertion failure introduced in 4.3.3, when oldfind is invoked
+in a directory where the parent directory lacks search permission.
+
** Enhancements
#20594: Allow fine-tuning of the default argument size used by xargs
Index: find/find.c
===================================================================
RCS file: /sources/findutils/findutils/find/find.c,v
retrieving revision 1.124
diff -u -p -r1.124 find.c
--- find/find.c 21 Aug 2007 13:40:26 -0000 1.124
+++ find/find.c 22 Aug 2007 18:23:01 -0000
@@ -192,7 +192,6 @@ main (int argc, char **argv)
close (starting_desc);
starting_desc = -1;
}
- assert (starting_desc >= 0);
if (starting_desc < 0)
{
- [Findutils-patches] patch for bug 20871,
Eric Blake <=