thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Dong (JIRA)" <j...@apache.org>
Subject [jira] [Created] (THRIFT-4464) Potentially server-crashing typo in Python TNonblockingServer
Date Fri, 19 Jan 2018 07:52:00 GMT
Tom Dong created THRIFT-4464:
--------------------------------

             Summary: Potentially server-crashing typo in Python TNonblockingServer
                 Key: THRIFT-4464
                 URL: https://issues.apache.org/jira/browse/THRIFT-4464
             Project: Thrift
          Issue Type: Bug
          Components: Python - Library
    Affects Versions: 0.11.0
         Environment: n/a
            Reporter: Tom Dong


The line [https://github.com/apache/thrift/blob/bfba370bf163425823ce7b660f9d123f5fc67c79/lib/py/src/server/TNonblockingServer.py#L177] 
{code:java}
self._wbuf = self.message[sent:]
{code}
 

But self.message is never assigned. Maybe should be
{code:java}
self._wbuf = self._wbuf[sent:]{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message