This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/16069] printf rountines do not set errno for out of memory condition.
- From: "bugdal at aerifal dot cx" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Tue, 22 Oct 2013 03:02:33 +0000
- Subject: [Bug stdio/16069] printf rountines do not set errno for out of memory condition.
- Auto-submitted: auto-generated
- References: <bug-16069-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16069
Rich Felker <bugdal at aerifal dot cx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugdal at aerifal dot cx
--- Comment #2 from Rich Felker <bugdal at aerifal dot cx> ---
Andreas, could you clarify your comment. The bug report is that printf is not
setting errno itself on out-of-memory conditions, relying on malloc to have
done so already. I don't see this as a bug (rather, it's a buggy malloc
hook/implementation if it doesn't set errno properly), but I think there needs
to be either a citation of existing policy to such effect, or a policy
discussion, before closing this bug report as invalid.
--
You are receiving this mail because:
You are on the CC list for the bug.