source:
trunk/server/common/patches/php-cve-2012-1823.patch
@
2191
Last change on this file since 2191 was 2184, checked in by ezyang, 13 years ago | |
---|---|
File size: 712 bytes |
-
sapi/cgi/cgi_main.c
old new 1552 1552 } 1553 1553 } 1554 1554 1555 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {1555 if (!cgi) while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) { 1556 1556 switch (c) { 1557 1557 case 'c': 1558 1558 if (cgi_sapi_module.php_ini_path_override) { … … 1801 1801 } 1802 1802 1803 1803 zend_first_try { 1804 while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) {1804 if (!cgi) while ((c = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 1, 2)) != -1) { 1805 1805 switch (c) { 1806 1806 case 'T': 1807 1807 benchmark = 1;
Note: See TracBrowser
for help on using the repository browser.