Changeset 6875


Ignore:
Timestamp:
Oct 9, 2008, 8:38:00 PM (13 years ago)
Author:
charles
Message:

#1332: libtransmission crashes from invalid RPC query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/json.c

    r6842 r6875  
    9999
    100100        case JSON_T_NULL:
     101            tr_bencInitStr( getNode( data ), "", 0 );
    101102            break;
    102103
     
    114115
    115116        case JSON_T_STRING:
    116             tr_bencInitStr( getNode(
    117                                 data ), value->vu.str.value,
     117            tr_bencInitStr( getNode( data ),
     118                            value->vu.str.value,
    118119                            value->vu.str.length );
    119120            break;
Note: See TracChangeset for help on using the changeset viewer.