mirror of
git://slackware.nl/current.git
synced 2025-02-09 22:00:48 +01:00
13 lines
566 B
Diff
13 lines
566 B
Diff
|
--- ./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;
|