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

Potentially server-crashing typo in Python TNonblockingServer

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.12.0
    • Component/s: Python - Library
    • Labels:
    • Environment:

      n/a

      Description

      The line https://github.com/apache/thrift/blob/bfba370bf163425823ce7b660f9d123f5fc67c79/lib/py/src/server/TNonblockingServer.py#L177 

      self._wbuf = self.message[sent:]
      

       

      But self.message is never assigned. Maybe should be

      self._wbuf = self._wbuf[sent:]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jking3 James E. King III
                Reporter:
                tomtung Tom Dong
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: