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 |
||
---|---|---|
.. | ||
nss_nis | ||
nss_nisplus | ||
rpcsvc | ||
Depend | ||
libnsl.h | ||
Makefile | ||
nis_add.c | ||
nis_addmember.c | ||
nis_call.c | ||
nis_callback.c | ||
nis_checkpoint.c | ||
nis_clone_dir.c | ||
nis_clone_obj.c | ||
nis_clone_res.c | ||
nis_creategroup.c | ||
nis_defaults.c | ||
nis_destroygroup.c | ||
nis_domain_of_r.c | ||
nis_domain_of.c | ||
nis_error.c | ||
nis_error.h | ||
nis_file.c | ||
nis_findserv.c | ||
nis_free.c | ||
nis_getservlist.c | ||
nis_hash.c | ||
nis_intern.h | ||
nis_ismember.c | ||
nis_local_names.c | ||
nis_lookup.c | ||
nis_mkdir.c | ||
nis_modify.c | ||
nis_ping.c | ||
nis_print_group_entry.c | ||
nis_print.c | ||
nis_remove.c | ||
nis_removemember.c | ||
nis_rmdir.c | ||
nis_server.c | ||
nis_subr.c | ||
nis_table.c | ||
nis_util.c | ||
nis_verifygroup.c | ||
nis_xdr.c | ||
nis_xdr.h | ||
nisplus-parser.h | ||
nss | ||
nss-default.c | ||
nss-nis.c | ||
nss-nis.h | ||
nss-nisplus.c | ||
nss-nisplus.h | ||
Versions | ||
yp_xdr.c | ||
ypclnt.c | ||
ypupdate_xdr.c |