about summary refs log tree commit diff
path: root/nss/tst-nss-db-endgrent.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-23 00:31:41 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-23 00:31:41 +0000
commit76ea70c613cee23a1846b9605e6433c1fa8baea7 (patch)
tree6349d53cee3cf6febcbf9bb26c5878e201d643f5 /nss/tst-nss-db-endgrent.c
parentdba88fb3ed3e70d2ad797f447a2a894b0891a5d7 (diff)
downloadglibc-76ea70c613cee23a1846b9605e6433c1fa8baea7.tar.gz
glibc-76ea70c613cee23a1846b9605e6433c1fa8baea7.tar.xz
glibc-76ea70c613cee23a1846b9605e6433c1fa8baea7.zip
hurd report-wait: Fix stpcpy usage
We shall not overflow the size of the description parameter. This makes
describe_number and describe_port behave like strpcpy (except for not filling
all the end of buffer with zeroes) and _S_msg_report_wait use series of
stpncpy-like call. If we were to overflow, we can now detect it and
return ENOMEM.
Diffstat (limited to 'nss/tst-nss-db-endgrent.c')
0 files changed, 0 insertions, 0 deletions