From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5957D385801E; Mon, 11 Dec 2023 17:37:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5957D385801E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1702316237; bh=KJfFmLBU/qd3/HB9LMRjG8S5HAmhfNWc4VXcJstYTdE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BAL3T4QaLSwBokdgoNVY/FVNkI9375I/qwzIYMJOaLwEDK81SF0wvq+lzRY4fGTj8 KGkJRmyvuoZ8dsZoG7O+b9OHZbQPmGWpQAn9xGwHi/hQauOs0Ta9uFzhvmP7A1LlqB 2toFUFEyTDCPmzyeTGldExHoqrF7qZZUx19583PA= From: "fweimer at redhat dot com" To: glibc-bugs@sourceware.org Subject: [Bug stdio/31137] Regression vfprintf + setbuf (no buffering) Date: Mon, 11 Dec 2023 17:37:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: stdio X-Bugzilla-Version: 2.37 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fweimer at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- 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://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31137 --- Comment #4 from Florian Weimer --- I'm pretty sure the actual application has a more elaborate format string h= ere. If we don't have a large enough buffer, that will still result in multiple writes even if we can handle arbitrarily large %s strings directly (because= we need to flush the previous buffer contents due to lack of vectored writes, = and write the subsequent format bits from the buffer). --=20 You are receiving this mail because: You are on the CC list for the bug.=