NetBSD-Bugs archive

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

PR/59220 CVS commit: src/sys/kern



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59220 CVS commit: src/sys/kern
Date: Thu, 27 Mar 2025 11:00:50 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Thu Mar 27 11:00:50 UTC 2025
 
 Modified Files:
 	src/sys/kern: uipc_usrreq.c
 
 Log Message:
 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
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.207 -r1.208 src/sys/kern/uipc_usrreq.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