1. --- php_ini.c-orig 2009-07-06 16:04:43.000000000 +1000
  2. +++ php_ini.c 2009-07-06 15:58:32.000000000 +1000
  3. @@ -795,7 +795,7 @@
  4. while ((ptr = strchr(ptr, DEFAULT_SLASH)) != NULL) {
  5. *ptr = 0;
  6. /* Search for source array matching the path from configuration_hash */
  7. - if (zend_hash_find(&configuration_hash, path, path_len, (void **) &tmp) == SUCCESS) {
  8. + if (zend_hash_find(&configuration_hash, path, strlen(path) + 1, (void **) &tmp) == SUCCESS) {
  9. php_ini_activate_config(Z_ARRVAL_P(tmp), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE TSRMLS_CC);
  10. }
  11. *ptr = '/';
  12.