Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 96370
Collapse All | Expand All

(-)nis/nss_nis/nis-netgrp.c (-1 / +1 lines)
Lines 75-81 _nss_nis_setnetgrent (const char *group, Link Here
75
	 which is one byte larger than the value in LEN specifies
75
	 which is one byte larger than the value in LEN specifies
76
	 and the last byte is filled with NUL.  So we can simply
76
	 and the last byte is filled with NUL.  So we can simply
77
	 use that buffer.  */
77
	 use that buffer.  */
78
      assert (len > 0);
78
      assert (len >= 0);
79
      assert (malloc_usable_size (netgrp->data) >= len + 1);
79
      assert (malloc_usable_size (netgrp->data) >= len + 1);
80
      assert (netgrp->data[len] == '\0');
80
      assert (netgrp->data[len] == '\0');
81
81

Return to bug 96370