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

Potentially server-crashing typo in Python TNonblockingServer

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.11.0
    • 0.12.0
    • Python - Library
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: