mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
780684eb04
Copy and null-terminate NIS+ password file UID and GID entries whose length is non-zero and are not terminated, in addition to empty ones, fixing a bug and a compilation issue causing an error with GCC 8: nss_nisplus/nisplus-parser.c: In function '_nss_nisplus_parse_pwent': nss_nisplus/nisplus-parser.c:90:7: error: 'strncpy' destination unchanged after copying no bytes [-Werror=stringop-truncation] strncpy (first_unused, numstr, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nss_nisplus/nisplus-parser.c:106:7: error: 'strncpy' destination unchanged after copying no bytes [-Werror=stringop-truncation] strncpy (first_unused, numstr, len); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ introduced with commit |
||
---|---|---|
.. | ||
nisplus-alias.c | ||
nisplus-ethers.c | ||
nisplus-grp.c | ||
nisplus-hosts.c | ||
nisplus-initgroups.c | ||
nisplus-netgrp.c | ||
nisplus-network.c | ||
nisplus-parser.c | ||
nisplus-proto.c | ||
nisplus-publickey.c | ||
nisplus-pwd.c | ||
nisplus-rpc.c | ||
nisplus-service.c | ||
nisplus-spwd.c |