]> granicus.if.org Git - php/commit
Fix php_module_startup() when loading more than one additional module
authorSara Golemon <pollita@php.net>
Wed, 4 Dec 2013 00:36:07 +0000 (16:36 -0800)
committerSara Golemon <pollita@php.net>
Wed, 4 Dec 2013 02:20:19 +0000 (18:20 -0800)
commit00a7b1ff7fed49df51d0392d47aa79f63bf1c66e
tree99e4ba3822158318a231ae73cb4dd77da133fc77
parent6f52f566f3d3a08418917baa6b659249a39c3f18
Fix php_module_startup() when loading more than one additional module

Dereferencing addition_modules within php_module_startup would
point to a vector entirely on the stack (which is of course, wrong).

Use a specialized helper to keep BC with the current php_module_startup()
calling semantics.

Fixes 63159
Thanks to @a-j-k
main/main.c