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

Fix use after free bug for thrown exceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.10.0, 0.11.0
    • Fix Version/s: 0.11.0
    • Component/s: PHP - Library
    • Labels:
      None
    • Environment:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: