This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/1769] getopt_long() crashes if optstring is NULL


------- Additional Comments From wharms at bfs dot de  2006-01-15 17:55 -------
Subject: Re:  getopt_long() crashes if optstring is NULL

this is ok for string functions. but sometimes getopt_long() may get 
optstring==NULL because some user has a program without any short option.

re,
  walter

drepper at redhat dot com wrote:
> ------- Additional Comments From drepper at redhat dot com  2006-01-15 17:45 -------
> No need to send a patch for the documentation.  This is never documented and we
> won't start because with the same argument we would have to say, for every
> string function for instance, that passing a NULL pointer will cause a crash.
> 


-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]