From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24892 invoked by alias); 5 Jun 2015 16:52:14 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 19458 invoked by uid 48); 5 Jun 2015 16:52:10 -0000 From: "zlynx at acm dot org" To: glibc-bugs@sourceware.org Subject: [Bug libc/15661] posix_fallocate fallback code buggy and dangerous Date: Fri, 05 Jun 2015 16:52:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: zlynx at acm dot org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: fweimer at redhat dot com 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: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00056.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=15661 --- Comment #12 from Jonathan Briggs --- (In reply to Rich Felker from comment #8) > I think the XSH 2.9.7 justification is something of a cop-out, and the > behavior is still undesirable/QoI-issue, but at least it's arguably > conforming to the extent that applications should avoid depending on > stricter behavior. This is definitely a cop-out and very undesirable. Absolutely no one will expect apparently random zero bytes to appear in their files because of calling posix_fallocate because the function isn't supposed to write anything to the file. -- You are receiving this mail because: You are on the CC list for the bug.