From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A88F0385829C; Mon, 5 Feb 2024 14:46:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A88F0385829C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707144402; bh=nsG47EZN/VY/Jg3mLk9sTZ64vHrE4i7KUlcFd8adluw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jEOE6nSbXjesKUHr8PV63Z3O+FfhemesizoVCpnBVvflAQYD67Sl7bfehbjGshMrQ Qr1wxvUG0zNkrfFFLaQlTN87AWN0T2xSlXAIx4/uTEoe9pwNeln1DzyZ/66uIKFNmk YvHrroij3sb/rG5Mbo1wfM8VhLVv1a8gysp7lm8I= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/113734] [14 regression] libarchive miscompiled (fails libarchive_test_read_format_rar5_extra_field_version test) since r14-8768-g85094e2aa6dba7 Date: Mon, 05 Feb 2024 14:46:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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=3D113734 --- Comment #5 from Sam James --- (In reply to Sam James from comment #0) > /home/sam/data/libarchive/libarchive-3.7.2/libarchive/test/ > test_read_format_rar5.c:106: bytes_read !=3D fsize > bytes_read=3D-30 (0xffffffffffffffe2, 01777777777777777777742) > fsize=3D95 (0x5f, 0137) btw, this isn't overflow, it's a sentinel value to represent an invalid arc= hive (ARCHIVE_FATAL) -- just that this test doesn't check for that, as it's expe= cted pt ass.=