diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-23 00:31:41 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-11-23 00:31:41 +0000 |
commit | 76ea70c613cee23a1846b9605e6433c1fa8baea7 (patch) | |
tree | 6349d53cee3cf6febcbf9bb26c5878e201d643f5 /elf/testobj.h | |
parent | dba88fb3ed3e70d2ad797f447a2a894b0891a5d7 (diff) | |
download | glibc-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 'elf/testobj.h')
0 files changed, 0 insertions, 0 deletions