From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 735F33858D3C; Wed, 22 Feb 2023 21:05:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 735F33858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1677099900; bh=iZl/BI0Xp2sKKfzBLXQzfa4ya//k9FH80JY9T/FZmyY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=O3zLl5FP5LoRhILK/Wp0RFqTrW0Sg6GX7Mn6z0ysXgiYojh/S6pwbCtOIDW2i/5A8 yyUMZLvEAO6haX5E1CbM8AykEddtJvvm7QwbO1qON5xmjfNyXh7dW3EVPP+8BFkSO5 zvARs58jTQG3H7rfdft7eIxgsJFL4o402ZCDSg6U= From: "kees at outflux dot net" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/108894] -fsanitize=bounds missing bounds provided by __builtin_dynamic_object_size() Date: Wed, 22 Feb 2023 21:05:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kees at outflux dot net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created 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=3D108894 Kees Cook changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #54508|0 |1 is obsolete| | --- Comment #2 from Kees Cook --- Created attachment 54509 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D54509&action=3Dedit PoC showing lack of __bdos support in -fsanitize=3Dbounds (Updated PoC so the "unknown" case correctly said "ignored" instead of "ok"/"failure" -- the unknown size case must continue to be ignored.)=