Re: Concerning bug #5076
| From: | Stanislav Malyshev | Date: | Tue, 31 Oct 2000 13:14:33 +0000 |
| Subject: | Re: Concerning bug #5076 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-36526@lists.php.net to get a copy of this message | ||
BA>> It seems that the arguments are not correct specially the size of the
BA>> variable 'name'.
BA>> Around line 392, we should read :
BA>> php_alter_ini_entry(name, strlen(name)+1, value, strlen(value), PHP_INI_SYSTEM,
BA>> PHP_INI_STAGE_ACTIVATE);
BA>> instead of :
BA>> php_alter_ini_entry(name, strlen(name), value, strlen(value), PHP_INI_SYSTEM,
BA>> PHP_INI_STAGE_ACTIVATE);
BA>>
I guess yes, at least in other places there's +1 in both places. But this
alone doesn't seem to cure the problem.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.106