Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libpthread



Module Name:    src
Committed By:   kre
Date:           Sun Nov  1 18:04:17 UTC 2026

Modified Files:
        src/lib/libpthread: pthread.c pthread_attr.c pthread_attr_getname_np.3

Log Message:
PR lib/60949 pthread*_getname_np(3) - avoid UB if len == 0

Just make len == 0 be an EINVAL error.

Update pthread_attr_getname_np(3) man page, so it no longer says
there are no errors from pthread_attr_getname_np() - which was wrong
in any case, as there was already one (if attr is invalid), and
while there, one minor grammar fix.

No pullups currently planned.


To generate a diff of this commit:
cvs rdiff -u -r1.196 -r1.197 src/lib/libpthread/pthread.c
cvs rdiff -u -r1.22 -r1.23 src/lib/libpthread/pthread_attr.c
cvs rdiff -u -r1.7 -r1.8 src/lib/libpthread/pthread_attr_getname_np.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index