🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #820

[Bug 301208] fdalloc() increments fd_freefile only when fd equals fd_freefile, so refilling a closed low descriptor leaves fd_fr...

#820
From: bugzilla-noreply
Date: Fri, 27 Nov 2026 23:33
17 lines
2598 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=301208

--- Comment #1 from laamalif@proton.me ---
Created attachment 277840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277840&action=edit
advance fd_freefile to fd + 1 after fdused_init() when minfd ==
fdp->fd_freefile

-- 
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-301208-227-XcYzq46xf8@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-301208-227@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 301208] fdalloc() increments fd_freefile only when fd equals
 fd_freefile, so refilling a closed low descriptor leaves fd_freefile stuck
 behind the allocated run
Date: Fri, 27 Nov 2026 23:33:13 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-301208-227-XcYzq46xf8@https.bugs.freebsd.org/bugzilla/>
References: <bug-301208-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="83992"; 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=1795822393;
	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=uBbGdLPklPFaq/XNVfmQG0/K8a1ZTk7QKGhl968EuWs=;
	b=axtAtWPthANPlN7Bfhag/d1H+n4pG81fI61Djvrw3X5F1eqOZFZMMVeylWpjhEz6Ic8fHD
	hc4xR9fB2oKVw9ArB8URBqr7dRD1xiSF9oSt0hrf61gJdWy134u/jf4CT/9jM2qA4SFgsz
	4cbvWYI1k+JHi8FzBYHhgfw3ChbwmJjyHgL61ltIfoEpJW3YCy4frygkhfxniZip0k6DW3
	uuQ1yILJFsIMAO81NLoweWgIN2aw8uob9LdHybuIiTJGICIdJxAFXd55y07uUDlVjAyxlQ
	0lUfyY60gn09yIP+YVW1bFM6TvjhXxr/pxy2YxsXof58y+VPorePumI34u/bBw==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-301208-227@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes