NetBSD-Bugs archive

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

PR/59751 CVS commit: src/libexec/ld.elf_so



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

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/59751 CVS commit: src/libexec/ld.elf_so
Date: Mon, 20 Jul 2026 01:49:48 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Jul 20 01:49:48 UTC 2026
 
 Modified Files:
 	src/libexec/ld.elf_so: search.c
 
 Log Message:
 ld.elf_so: Fix assertion: obj may be NULL _or_ OBJ_ERR (-1) here
 
 NULL means the object wasn't found and we should keep searching;
 OBJ_ERR means the object was found but loading it failed and we
 should stop.  Only if the object is _neither_ NULL _nor_ OBJ_ERR is
 it expected to be an object with positive refcount.
 
 Followup for
 
 PR lib/59751: dlclose is not MT-safe depending on the libraries
 unloaded
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 src/libexec/ld.elf_so/search.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