Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4263

Fix use after free bug for thrown exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.10.0, 0.11.0
    • 0.11.0
    • PHP - Library
    • None
    • Verified both on Debian unstable and Centos 7 under valgrind

    Description

      Fix use after free bug for thrown exceptions

      Exceptions thrown through PHPExceptionWrapper are prematurely freed at
      the end of the catch block, even though zend_throw_exception_object
      expects to take ownership of the value.

      Attachments

        Issue Links

          Activity

            People

              jking3 James E. King III
              Rockj Roy Sindre Norangshol
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: