# php_init_config zero length allocation

- Thread: https://externals.io/message/7472
- Original archive: https://news-web.php.net/php.internals/7472
- Started by Eric Colinet on 2004-02-02T09:36:28+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #7472 — Eric Colinet — 2004-02-02T09:36:28+00:00

URL: https://externals.io/message/7472#7472

Hi,

Included a patch that avoid a zero length allocation in php_init_config when:
	- A configuration line like --with-config-file-scan-dir=d:/local/etc is given
	- The directory specified doesn't contain any *.ini files

Let me know if I have to create a bug entry for it before posting a fix.


Eric
