Browse Source

MFB

migration/RELEASE_1_0_0
Antony Dovgal 19 years ago
parent
commit
95741bd34a
  1. 3
      sapi/cgi/cgi_main.c

3
sapi/cgi/cgi_main.c

@ -1569,7 +1569,8 @@ consult the installation file that came with this distribution, or visit \n\
}
}
s = malloc(++len + 1);
len += 2;
s = malloc(len);
*s = '\0'; /* we are pretending it came from the environment */
for (i = php_optind; i < argc; i++) {
strlcat(s, argv[i], len);

Loading…
Cancel
Save