[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/autofs/FC-5 autofs-4.1.4-bad-key-len-fix.patch, 1.1, 1.2 autofs.spec, 1.82, 1.83



Author: ikent

Update of /cvs/dist/rpms/autofs/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv6148

Modified Files:
	autofs-4.1.4-bad-key-len-fix.patch autofs.spec 
Log Message:
- fix bad key len patch.


autofs-4.1.4-bad-key-len-fix.patch:
 lookup_file.c |   32 +++++++++++++++++++++++---------
 1 files changed, 23 insertions(+), 9 deletions(-)

Index: autofs-4.1.4-bad-key-len-fix.patch
===================================================================
RCS file: /cvs/dist/rpms/autofs/FC-5/autofs-4.1.4-bad-key-len-fix.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- autofs-4.1.4-bad-key-len-fix.patch	19 Jun 2006 08:43:38 -0000	1.1
+++ autofs-4.1.4-bad-key-len-fix.patch	19 Jun 2006 08:49:51 -0000	1.2
@@ -1,5 +1,5 @@
---- autofs-4.1.4/modules/lookup_file.c.bad-key-len-fix	2006-06-19 04:12:20.000000000 -0400
-+++ autofs-4.1.4/modules/lookup_file.c	2006-06-19 04:33:55.000000000 -0400
+--- autofs-4.1.4/modules/lookup_file.c.bad-key-len-fix	2006-06-19 04:46:40.000000000 -0400
++++ autofs-4.1.4/modules/lookup_file.c	2006-06-19 04:47:51.000000000 -0400
 @@ -99,7 +99,7 @@
  static int read_one(FILE *f, char *key, char *mapent)
  {
@@ -70,7 +70,7 @@
 +				      "\"%s\" is too long.  The maximum entry"
 +				      " size is %d", mapent, key,
 +				      MAPENT_MAX_LEN);
-+				state = st_badent
++				state = st_badent;
  			}
  			break;
  		}


Index: autofs.spec
===================================================================
RCS file: /cvs/dist/rpms/autofs/FC-5/autofs.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- autofs.spec	19 Jun 2006 08:43:38 -0000	1.82
+++ autofs.spec	19 Jun 2006 08:49:51 -0000	1.83
@@ -111,7 +111,7 @@
 %patch28 -p1
 %patch29 -p1
 %patch30 -p1
-%patch31 -p1
+%patch31 -p1 -b .bad-key-len-fix
 
 %build
 #CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --libdir=%{_libdir}
@@ -169,7 +169,7 @@
 - Change LDAP message severity from crit to degug (bz# 183893).
 - Add patch to ignore the "bg" and "fg" mount options as they
   aren't relevant for autofs mounts (bz# 184386).
-- Add patch to fix key and mapent lenght check.
+- Add patch to fix key and mapent length check.
 
 * Tue May 30 2006 Ian Kent <ikent redhat com> - 1:4.1.4-25
 - add patch to fix white space handling in get_best_mount


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]