This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/1769] getopt_long() crashes if optstring is NULL
- From: "drepper at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 23 Dec 2005 15:38:19 -0000
- Subject: [Bug libc/1769] getopt_long() crashes if optstring is NULL
- References: <20051031180548.1769.wharms@bfs.de>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From drepper at redhat dot com 2005-12-23 15:38 -------
There is nowhere wording that passing NULL is valid. Your code is simply buggy.
Fix it instead of complaining about other people's code.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
http://sourceware.org/bugzilla/show_bug.cgi?id=1769
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.