patch to fix uninitalized read in runkit_method_copy() #34

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
2 participants
@tony2001
Contributor

tony2001 commented Sep 11, 2012

set jmp_addr only for opcodes that actually have it and use it

tony2001 added some commits Sep 11, 2012

fix uninitialized read in runkit_method_copy()
set jmp_addr only for opcodes that actually have it and use it
Merge git://github.com/zenovich/runkit
* git://github.com/zenovich/runkit:
  Adding and redefining functions and methods, which return references, were fully implemented (#12). New optional argument 'return_ref' of functions runkit_function_add and runkit_function_redefine was introduced. New constant RUNKIT_ACC_RETURN_REFERENCE was introduced for use with functions runkit_method_add and runkit_method_redefine. New tests were added.
  The possible crash on manipulating constants having length less than two characters was eliminated. Functions manipulating constants were corrected to work in PHP5.4, new tests were added.
  All ways of adding and removing magic methods and old-style constructors were reworked and corrected (issue #35). Magic methods __isset, __unset, __callStatic, and __toString are now supported. Functions runkit_class_adopt & runkit_class_emancipate now change class-hierarchy (issue #13). tony2001's patch d63c984 was applied and reworked. New tests were added.
  functions and methods redefining in PHP 5.4 was corrected in all places, new tests were added (#36, #32)
  a fix was added to package.xml
  mad casing of classnames in different versions of PHP
  compilation bug (gcc 4.3+) with definition of internal function was fixed

zenovich added a commit that referenced this pull request Sep 22, 2012

Issue #34:
fix uninitialized read in runkit_method_copy()

set jmp_addr only for opcodes that actually have it and use it

new test was added
@zenovich

This comment has been minimized.

Show comment Hide comment
@zenovich

zenovich Sep 22, 2012

Owner

merged

Owner

zenovich commented Sep 22, 2012

merged

@zenovich zenovich closed this Sep 22, 2012

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