From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) by sourceware.org (Postfix) with ESMTP id 6D35D3858D33 for ; Fri, 17 Feb 2023 01:56:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6D35D3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gentoo.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gentoo.org Content-Type: multipart/signed; boundary="Apple-Mail=_36BA6A7A-F5FF-4EFC-9C2F-B934E2D7C364"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.300.101.1.3\)) Subject: Re: Missed warning (-Wuse-after-free) From: Sam James In-Reply-To: <7ef1efd4-66a1-51ca-a140-c3fc7b6c077f@gmail.com> Date: Fri, 17 Feb 2023 01:56:40 +0000 Cc: David Malcolm , GCC , Iker Pedrosa , Florian Weimer , Paul Eggert , Michael Kerrisk , Martin Uecker , =?utf-8?B?SuKCkeKCmeKCmyBHdXN0ZWR0?= , Siddhesh Poyarekar Message-Id: <393614CB-C088-4793-A395-4BB9F9F48CE4@gentoo.org> References: <8ed6d28c-69dc-fed8-5ab5-99f685f06fac@gmail.com> <38e7e994a81d2a18666404dbaeb556f3508a6bd6.camel@redhat.com> <23d3a3ff-adad-ac2e-92a6-4e19f4093143@gmail.com> <7ef1efd4-66a1-51ca-a140-c3fc7b6c077f@gmail.com> To: Alejandro Colomar X-Mailer: Apple Mail (2.3731.300.101.1.3) X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --Apple-Mail=_36BA6A7A-F5FF-4EFC-9C2F-B934E2D7C364 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 17 Feb 2023, at 01:05, Alejandro Colomar via Gcc = wrote: >=20 > On 2/17/23 02:04, Alejandro Colomar wrote: >> [CC: Added those who contributed to the discussion in linux-man@, >> and also the authors of N2861 for C2x] >=20 > [...] >=20 >>=20 >> There was a discussion in linux-man@ some years ago, which now I = realize it >> didn't end up being applied (I thought we had applied a patch, but it = seems we >> didn't). I'll check if we still need such a patch (and I guess we = do, since >> we're having this conversation). >=20 > I forgot to link: > = >=20 See also = https://siddhesh.in/posts/that-is-not-a-number-that-is-a-freed-object.html= . --Apple-Mail=_36BA6A7A-F5FF-4EFC-9C2F-B934E2D7C364 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iNUEARYKAH0WIQQlpruI3Zt2TGtVQcJzhAn1IN+RkAUCY+7e2V8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MjVB NkJCODhERDlCNzY0QzZCNTU0MUMyNzM4NDA5RjUyMERGOTE5MAAKCRBzhAn1IN+R kLtnAQDj+Q8m5Ks70/efurKyCwcb/W/CxJ1MrAGw6a4+aaxTXgEAxGhh2bN7BIi7 jwbqL791Pmna2DC2lxs6ghqRteByIwM= =6ah/ -----END PGP SIGNATURE----- --Apple-Mail=_36BA6A7A-F5FF-4EFC-9C2F-B934E2D7C364--