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

C++/Qt: potential core dump in TQTcpServer in case an exception occurs in TAsyncProcessor::process()

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.3, 0.10.0
    • Fix Version/s: 0.10.0
    • Component/s: C++ - Library
    • Labels:

      Description

      It's undefined behaviour, if a Qt object (sender) get's deleted while executing on of it's slots. This can happen in case an exception occurs in TQTcpServer::beginDecode() as the call to ctxMap_.erase() will delete the sender of the Qt signal.

        Attachments

          Activity

            People

            • Assignee:
              sebastian.zenker Sebastian Zenker
              Reporter:
              sebastian.zenker Sebastian Zenker
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: