From nobody Tue Jan 14 15:26:35 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YXXzJ1Bqlz5kp2d for ; Tue, 14 Jan 2025 15:26:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YXXzH246yz3pc2 for ; Tue, 14 Jan 2025 15:26:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736868395; 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=1dKAjtc1kh8+s8Ij+ylc3OoWKKXPUwzHz1XgrCirw70=; b=p0nsdcV42zPl91NYPPOXkX208D+HGiQ4a/B3h/iab4Ym15CVF9eIvnQ+7J1MGZDIRMdovA R5opcNe6ZaRWWaMkToKWDoJ2bE7fWttxsE4kL3+DQPIHmZLNDT4AghqGH6BNHd+kM6e/Do BRRRjhHIycl1C8m9mWJssWZF7NMbZhiD2LhjtR+8L2qEZdnCOIedYODNMznSofwUSdYRGo ukKAntmg5UsQzAillwwQI10DM64bL3MGeLJE2CZWSTxfstv1nOy6coHJQhpkMzuxTwx0I0 4qJOaIrMkIIDsd0ptqnXqBfEJt78vwC/6kcfwJK4GblbR4ExOacXv8P5bnZZ6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1736868395; 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=1dKAjtc1kh8+s8Ij+ylc3OoWKKXPUwzHz1XgrCirw70=; b=VIpXKYTwlCS1ap8RR5BvSYnUhyg2f0xMMqbb7HLdaCyuBuWDDxalUlzUdas8J8NUs35jH2 mRSf2eXv1sR9IqKFGkguPVAYyM7pOmqGdL9Obh2wuPpZBAHVep/1ZGq3nH4a5oZGXB3sME FXUbQQMOi7Rr5IwdI5DlNPv392Km1NbWIY10nK4jWc0MsbQQhaaQxz+r5XZ2ufaMe5orgi u6op7s3shqRsC1RFDKks/SxWMtld9nSr0Wzw/1oBiwYtLJSsf4HvLmUv3PSvPxjUWVW/kh CFRuXcibrDBXQeTgnU4X1zqCFypOUlOKDB5Job12J4hsaHMurcwPZaBHAQJcIw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1736868395; a=rsa-sha256; cv=none; b=y0rga2EQ/xv0dZBJ2xrZEtJSPLFdUraivvvu+uHodTa3rbWWdDLiHicaXVIoeybvJzgPFq 9gpSGuXH8A8/+cLYTJU5mm+B54xhitwgnNDeXAxjK3n6RlyEqITA7GMsDtF9WK4PN5N9Fs F0VWDskGsuiZUxMmtt55WOMJDg3UFnSjFs72/dLoV2VqqC0nNaKGUavRqOn7yOyjbsub6T b0PvxrldHqtnWMb/GLIaFOZ2POWsThHflqWoZ29Oa0aa89UTA3ixbEuHYMNCz6fgpj8L4x kg26TlLHdf+fPHKVIrSLksAEgHXezU+Bv16RCqiZj+mlPMYtpzcpWY8FSmqWBg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YXXzH1g2Rz1LFS for ; Tue, 14 Jan 2025 15:26:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50EFQZtE053878 for ; Tue, 14 Jan 2025 15:26:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50EFQZw1053877 for bugs@FreeBSD.org; Tue, 14 Jan 2025 15:26:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278476] fd and memory leak in ls Date: Tue, 14 Jan 2025 15:26:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278476 --- Comment #5 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De6c9c463384d11a44af3e5f2cc947fb69= f3a1968 commit e6c9c463384d11a44af3e5f2cc947fb69f3a1968 Author: Mark Johnston AuthorDate: 2025-01-14 14:20:26 +0000 Commit: Mark Johnston CommitDate: 2025-01-14 14:20:26 +0000 ls: Release resources before returning from traverse() PR: 278476 MFC after: 2 weeks Reported by: valgrind bin/ls/ls.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=