about summary refs log tree commit diff
path: root/src/thread/pthread_getname_np.c
Commit message (Collapse)AuthorAgeFilesLines
* fix error checking in pthread_getname_npÉrico Nogueira2021-08-061-1/+1
| | | | | | | len is unsigned and can never be smaller than 0. though unlikely, an error in read() would have lead to an out of bounds write to name. Reported-by: Michael Forney <mforney@mforney.org>
* add pthread_getname_np functionÉrico Rolim2021-04-201-0/+25
based on the pthread_setname_np implementation