From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9A9C23858C78; Tue, 15 Aug 2023 21:00:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9A9C23858C78 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692133252; bh=aXJfx84ur+F1VLp7Y/V/mrMl/S8QGu0v6MkPNP7gitg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pqt98Asy+QTHYzXQnBxWNO8Ot/cFHKPbxOs2chn4hfZhIjgKqD9QY0iWrOXDYZ53e VWpR0a7OJJjVyH7zhwC1dPxKjfi4duTvjhl6W9M1KWkX1lmZ+YCmGSVrkTUCEIpF3D qFfTSMgG1TmbwrA++RKP0maVz9L2JuyX+Hv5qikM= From: "glebfm at altlinux dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug analyzer/109570] detect fclose on unopened or NULL files Date: Tue, 15 Aug 2023 21:00:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: analyzer X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: glebfm at altlinux dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109570 Gleb Fotengauer-Malinovskiy changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |glebfm at altlinux dot org --- Comment #7 from Gleb Fotengauer-Malinovskiy --- FYI, the change in the glibc also has an effect on autoconf-based projects, when the -fanalyzer flag is used in combination with the -Werror flag, see: https://git.savannah.gnu.org/cgit/autoconf.git/commit/?id=3Dea3e0cec2e66132= e34228546256a1657c7b9b2e9=