www.delorie.com/djgpp/bugs/show.cgi | search |
In file crt1.c: When you set up an environment variables (__dos_argv0), you use a reference to alloca'ed pointer, and use it later, after return from this function. Due to this bug later, in __crt0_setup_arguments (in argv0 setup) attempt to strncat to too small buffer. Need to change: at the end of function setup_environment(void) in crt1.c string __dos_argv0 = cp + 3; - may be, malloc it.
webmaster | delorie software privacy |
Copyright © 2010 by DJ Delorie | Updated Jul 2010 |