["Andrew Wiseman" <a.wiseman@bandc.dircon.co.uk>] libc/1677: gcc-lib : getopt(0,argv,"a:b:c") causes segmentation fault
Ulrich Drepper
drepper@redhat.com
Thu Mar 30 21:05:00 GMT 2000
Andreas Jaeger <aj@suse.de> writes:
> We could add a
> if (argc < 1)
> return -1;
> at the beginning of _getopt_internal.
>
> Anyone with a better idea?
No, seems to be the right thing to do. I've changed it appropriately.
Thanks,
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list