Changeset 9041


Ignore:
Timestamp:
Sep 5, 2009, 4:51:22 PM (13 years ago)
Author:
charles
Message:

(trunk libT) #2284: crashes when some invalid torrents are added. reported by Flemzard in irc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/torrent.c

    r8948 r9041  
    720720    didParse = tr_metainfoParse( session, setmeInfo, metainfo );
    721721    doFree = didParse && ( setmeInfo == &tmp );
     722
     723    if( !didParse )
     724        result = TR_PARSE_ERR;
    722725
    723726    if( didParse && !getBlockSize( setmeInfo->pieceSize ) )
Note: See TracChangeset for help on using the changeset viewer.