NetBSD-Bugs archive

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

PR/59220 CVS commit: [netbsd-10] src



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

From: "Martin Husemann" <martin%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59220 CVS commit: [netbsd-10] src
Date: Sat, 27 Jun 2026 19:27:34 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Sat Jun 27 19:27:34 UTC 2026
 
 Modified Files:
 	src/sys/kern [netbsd-10]: uipc_usrreq.c
 	src/tests/net/net [netbsd-10]: t_unix.c
 
 Log Message:
 Pull up following revision(s) (requested by riastradh in ticket #1289):
 
 	tests/net/net/t_unix.c: revision 1.26
 	tests/net/net/t_unix.c: revision 1.27
 	tests/net/net/t_unix.c: revision 1.28
 	sys/kern/uipc_usrreq.c: revision 1.208
 
 t_unix: Sort includes.
 No functional change intended.
 Preparation for:
 PR kern/59220: accept(2): null pointer deref
 
 t_unix: Make existing tests more reliable by exiting in child.
 Returning into atf in the child is not helpful.
 Preparation for adding a test for:
 PR kern/59220: accept(2): null pointer deref
 
 unp_accept: Fix assertion in SS_ISCONNECTING case.
 
 This null test matches the assertion inside soisconnected.
 
 In this context, so2 must also be locked, and we no longer assert so
 directly here -- but the assertions never worked as far as I can tell
 since they were added in 2008, and soisconnected already asserts
 solocked(so2), so this is fine.
 (Not doing this via xfail test because it crashes the whole test bed
 when the assertion fires, but the test that tripped this assertion is
 coming shortly.)
 
 PR kern/59220: accept(2): null pointer deref
 
 t_unix: Test LOCAL_CONNWAIT.
 PR kern/59220: accept(2): null pointer deref
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.203 -r1.203.4.1 src/sys/kern/uipc_usrreq.c
 cvs rdiff -u -r1.25 -r1.25.2.1 src/tests/net/net/t_unix.c
 
 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