[Pkg-shadow-commits] r2389 - in debian/trunk/debian: . patches

nekral-guest at alioth.debian.org nekral-guest at alioth.debian.org
Sat Sep 13 17:24:05 UTC 2008


Author: nekral-guest
Date: 2008-09-13 17:24:05 +0000 (Sat, 13 Sep 2008)
New Revision: 2389

Modified:
   debian/trunk/debian/changelog
   debian/trunk/debian/patches/507_32char_grnames.dpatch
Log:
507_32char_grnames.dpatch updated for upstream version 4.1.2.


Modified: debian/trunk/debian/changelog
===================================================================
--- debian/trunk/debian/changelog	2008-09-13 17:23:17 UTC (rev 2388)
+++ debian/trunk/debian/changelog	2008-09-13 17:24:05 UTC (rev 2389)
@@ -12,6 +12,7 @@
       + debian/patches/302_vim_selinux_support
       + debian/patches/008_login_log_failure_in_FTMP
       + debian/patches/429_login_FAILLOG_ENAB
+      + debian/patches/507_32char_grnames.dpatch
   * debian/patches/506_relaxed_usernames: Use an extra paragraph for the note
     on username with a '/'.
   * debian/patches/504_undef_USE_PAM.dpatch:

Modified: debian/trunk/debian/patches/507_32char_grnames.dpatch
===================================================================
--- debian/trunk/debian/patches/507_32char_grnames.dpatch	2008-09-13 17:23:17 UTC (rev 2388)
+++ debian/trunk/debian/patches/507_32char_grnames.dpatch	2008-09-13 17:24:05 UTC (rev 2389)
@@ -36,7 +36,7 @@
 --- shadow-4.1.0.orig/libmisc/chkname.c
 +++ shadow-4.1.0/libmisc/chkname.c
 @@ -70,10 +70,10 @@
- int check_group_name (const char *name)
+ bool is_valid_group_name (const char *name)
  {
  	/*
 -	 * Arbitrary limit for group names - max 16
@@ -44,9 +44,10 @@
 +	 * Arbitrary limit for group names - max 32
 +	 * same as linux UT_NAMESIZE
  	 */
--	if (strlen (name) > 16)
-+	if (strlen (name) > 32)
- 		return 0;
+-	if (strlen (name) > 16) {
++	if (strlen (name) > 32) {
+ 		return false;
+ 	}
  
  	return good_name (name);
 Index: shadow-4.1.1/man/groupadd.8.xml




More information about the Pkg-shadow-commits mailing list