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 |
|