NetBSD-Bugs archive

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

PR/60949 CVS commit: src/lib/libpthread



The following reply was made to PR lib/60949; it has been noted by GNATS.

From: "Robert Elz" <kre%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/60949 CVS commit: src/lib/libpthread
Date: Sun, 1 Nov 2026 18:04:18 +0000

 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