ReflectionFunction + runkit segfaults #30

Closed
tony2001 opened this Issue Sep 10, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

tony2001 commented Sep 10, 2012

Самый простой тест-кейс:

invokeArgs(array("test")); ?>

Вариация на тему:

invokeArgs(array("test")); ?>

Чуть сложнее:

getDeclaringFunction()); var_dump((string)$rp); ?>

Всё, в общем, логично - reflection хранит старый указатель, а runkit ему делает free (верней, zend_hash_update()) и подменяет его другим.

zenovich added a commit that referenced this issue Sep 25, 2012

Highly probable crashes after modifying removing or renaming of funct…
…ions, methods, and properties, for which Reflection objects have been instantiated,

were eliminated (#30)
Owner

zenovich commented Sep 25, 2012

fixed

@zenovich zenovich closed this in 77b0f32 Sep 26, 2012

zenovich added a commit that referenced this issue Sep 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment