mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
(trunk libT) #1798: TM crashes when receiving malformed JSON packet
This commit is contained in:
@@ -982,8 +982,7 @@ request_exec( tr_session * session,
|
||||
tr_releaseBuffer( buf );
|
||||
tr_bencFree( &response );
|
||||
}
|
||||
|
||||
if( methods[i].immediate )
|
||||
else if( methods[i].immediate )
|
||||
{
|
||||
int64_t tag;
|
||||
tr_benc response;
|
||||
|
||||
Reference in New Issue
Block a user