Article View: muc.lists.freebsd.bugs
Article #25[Bug 298747] clearenv() segfaults when the environment is already empty
From: bugzilla-noreply
Date: Fri, 09 Oct 2026 00:27
Date: Fri, 09 Oct 2026 00:27
32 lines
3055 bytes
3055 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298747
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=a6d8b449d9a3d0d2b9c8e96a225c02c486799476
commit a6d8b449d9a3d0d2b9c8e96a225c02c486799476
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2026-09-24 18:30:57 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2026-10-09 00:25:34 +0000
libc/stdlib/getenv.c: always allocate new environment
PR: 298747
(cherry picked from commit dec68aeff8ce0ce154e93325a74bba6af71c87af)
lib/libc/stdlib/getenv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--
You are receiving this mail because:
You are the assignee for the bug.
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID:
<bug-298747-227-44hZDcniTf@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mailReferences:
<bug-298747-227@https.bugs.freebsd.org/bugzilla/>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail From: bugzilla-noreply@freebsd.org Newsgroups: muc.lists.freebsd.bugs Subject: [Bug 298747] clearenv() segfaults when the environment is already empty Date: Fri, 09 Oct 2026 00:27:42 +0000 Organization: Newsgate at muc.de e.V. Sender: owner-freebsd-bugs@FreeBSD.org Approved: news-admin@muc.de Distribution: world Message-ID: <bug-298747-227-44hZDcniTf@https.bugs.freebsd.org/bugzilla/> References: <bug-298747-227@https.bugs.freebsd.org/bugzilla/> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2"; logging-data="62609"; mail-complaints-to="news-admin@muc.de" X-Original-To: bugs@mlmmj.nyi.freebsd.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1791505663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=kuoo/ucc86VgIJ2oMNiUtwgo+PavwUGgMdvfRhdCF6o=; b=Uiu/ajQ7dO3945l3z4UE6h+FtNQIPtshXSQOeLJ5rfANl2P7dgk6m6RjfPKtpw+88OtpAD 8DKx/KTy+JZPi2yYRPmjiEeD5PBh2IJldonQoJRluMpnI8nY8RnawHBCD86BuA/XrqoYjo Ov12F+uvNnYsZWYBT5yN/O+6U1yCAacaiXQ5tOmd3dzI0Je17i3gmng0SF7QKb4uSKpHC7 fVje35pXX7UvhQ/lDkgclzader4/90HhmhrMriALPZuc8jkQuA6mCRVJmYkXp9COeq8e9s zB4Qo99SiW4oQkx7kQhxrLx1YV7vHBZUSHuXhySdf/j1sDSRRWtylExHrCMQkg== X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f In-Reply-To: <bug-298747-227@https.bugs.freebsd.org/bugzilla/> Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes