This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug ports/14250] ia64 makecontext.c writes to stderr and it should not.
- From: "carlos_odonell at mentor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Mon, 18 Jun 2012 14:19:07 +0000
- Subject: [Bug ports/14250] ia64 makecontext.c writes to stderr and it should not.
- Auto-submitted: auto-generated
- References: <bug-14250-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14250
--- Comment #2 from Carlos O'Donell <carlos_odonell at mentor dot com> 2012-06-18 14:19:07 UTC ---
Mike,
I didn't notice the call to exit(). Calling exit() is definitely the wrong
thing to do in this context.
Returning EINVAL when argc > 8 would fix both of these problems.
I wonder if you couldn't somehow macro-ize this to fail at build time if argc
was greater than 8?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.