From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id 9D3232495D for ; Tue, 8 Oct 2024 17:35:55 +0200 (CEST) Received: (qmail 22327 invoked by uid 550); 8 Oct 2024 15:35:51 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com x-ms-reactions: disallow Received: (qmail 22289 invoked from network); 8 Oct 2024 15:35:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1728401742; x=1729006542; i=nullplan@gmx.net; bh=Xxf0wOUyOS4NBItk0LcHi3ZJpsmAOpy/uuSIhTJboE4=; h=X-UI-Sender-Class:Date:From:To:Subject:Message-ID:MIME-Version: Content-Type:cc:content-transfer-encoding:content-type:date:from: message-id:mime-version:reply-to:subject:to; b=bPLYRBM2peWlp2ow/3sCH7ox1FX+iIeUESDkgyziMOVh2j193aUOmfzyi3j2i75a rUpPP5NNKqhyN2UCaq0AVcNjCdfMFdPRr/6ovQFF9StF+z/rQdg7yH3SvHzSzAep6 Q1DCnJFJCRNLESX5cYUNDNlF76sgW7sxzzg0CPxX6jZdx2trDNNKu6j3qTNho6Qcq +TLoKZVyO7x1lDXNOm+sY0nB2es1vz9l+/nOi+OZbNBuDQjFSfC7gKLVvZWSkNKHc KbwMF50Rvt0Qaxa/1wxOORdeikP6ZVudUTSsZ6sKiz3A8x/r/MaVsF2vmKRcrh6nG fMpMPvmxXnGmgW0w7A== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Date: Tue, 8 Oct 2024 17:35:40 +0200 From: Markus Wichmann To: musl@lists.openwall.com Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Provags-ID: V03:K1:/loue9JfaOeoNWRloGsnmHhtRODpmZihcpGkNs8XkaIQ9Bi2QR5 Djd7436M88W4av5NyfIA/SrPBFbqqscHVYHsiX8P5MqlxMbjFRpIUndfiqmfq5sloM7t+WW AXS3UN9EkMxJLLgiWrqSpducITryKa2RishI7zCkBUKL2Ho0lzwR+C2WCYF2Iix/03ARF+H aTCPPpwmbIhhETxPIav+A== UI-OutboundReport: notjunk:1;M01:P0:SjSEC1ao2s0=;DIADHSLmqOrMtm6eTk3Wp1qRjC0 9QBac0u1xa8/hzT8z89i/qbgfmn1MhewggeIBuGiZRzNvXJd2v5NLcnyRs8EFhxesiahatcK/ 12TjErbpS40XrBCyeiElJlURUVfjvbWR/qFslNuRSfKYxHH5IqqutOCEPg5OjgmZ+2fCx/+MQ Gtemg5C9tKenhtsEOhCnUvcFx49v/XDWwq7xcLd1YjHAAWpkjjAJfMoPBlr/pSrp5pyfMF1LS xY0n/bmCTr4g7f9X/5aXugnh8Z2uTqO0YWo0RoXc7sCpFFRfMqYW6QWSmW4WJZ0MOcEwGuB2t 6dsJMv4BhbSTpk8bGCbaTj8kgvVzPwdQ/0HRN5xqOouhjAzb9veKQtDC+zrHvw2sVJTqA+iUK Ywq3H3vuUGtbNvoJl1V0eLYkBm4LNV4KYDN7sFom1/8/rbo/4xKs+fFmX/ElZ8mAmqxwlec4i wNCiTFbvQ5AWxF1mhA29zunGz+B1ikqgwzFDdUYbDtsYFoZn0LNTQihBOdWKw8OST/VnbZ8l1 i6YIutZ6Eg1cx1OLbdQ/ms0HcDRz0ZESm+mHO0Xqg0qIWdiY6BqYVes3uYWxd7y+RBdCczG4H IN5RL3ruL9nbNZTOivAWnQ70/EzMHgCq9Rcn7mNFD0kxtNvopnScZ9F+fT0VlDbgyU8W7t7h0 lEhRKhkJDSVlwMk+bXyLY/iSIeiwffHn6N2PLI5jlsAVi6MQY60ryHpxqdoncr+qdKN3Bga3z mNDwuOdrhOsKAJr792RJYV0BrHocETfdX6mAGxuPnAvvd3Xp/JH8dqggoczMa+orxGBnumfkr sVjKmBxzk81Fdo9D1vU18geg== Subject: [musl] Resource leak in nftw() Hi all, on a much more actionable note: The function do_nftw() contains a resource leak: It opens a directory on line 71, but doesn't close it if the returns on line 78 or 82 are taken. Ciao, Markus