summaryrefslogtreecommitdiffstats
path: root/patches/source/glibc/glibc.nis-netgroups.diff
blob: 2473e9766e8798b4e0eed24717cdf950931c3c6b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- ./nis/nss_nis/nis-netgrp.c.orig	2006-04-08 21:08:28.000000000 -0500
+++ ./nis/nss_nis/nis-netgrp.c	2006-10-10 20:49:11.000000000 -0500
@@ -72,7 +72,8 @@
 	 and the last byte is filled with NUL.  So we can simply
 	 use that buffer.  */
       assert (len >= 0);
-      assert (malloc_usable_size (netgrp->data) >= len + 1);
+      /* The next line break NIS netgroups on non-PAM systems, so we will comment it out */
+      /* assert (malloc_usable_size (netgrp->data) >= len + 1); */
       assert (netgrp->data[len] == '\0');
 
       netgrp->data_size = len;