This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15661] posix_fallocate fallback code buggy and dangerous
- From: "zlynx at acm dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 05 Jun 2015 16:52:09 +0000
- Subject: [Bug libc/15661] posix_fallocate fallback code buggy and dangerous
- Auto-submitted: auto-generated
- References: <bug-15661-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=15661
--- Comment #12 from Jonathan Briggs <zlynx at acm dot org> ---
(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.