#667: remote crash exploit in bencode parser

This commit is contained in:
Charles Kerr
2008-01-31 02:24:43 +00:00
parent 008ce2fcfe
commit df9bd1f713
7 changed files with 702 additions and 287 deletions

View File

@@ -25,11 +25,13 @@ tr_ptrArray * tr_ptrArrayDup ( tr_ptrArray* );
void tr_ptrArrayForeach ( tr_ptrArray*, PtrArrayForeachFunc func );
void tr_ptrArrayFree ( tr_ptrArray*, PtrArrayForeachFunc func );
void* tr_ptrArrayNth ( tr_ptrArray*, int n );
void* tr_ptrArrayBack ( tr_ptrArray* );
void** tr_ptrArrayPeek ( tr_ptrArray*, int * size );
void** tr_ptrArrayBase ( tr_ptrArray* );
void tr_ptrArrayClear ( tr_ptrArray* );
int tr_ptrArrayInsert ( tr_ptrArray*, void*, int pos );
int tr_ptrArrayAppend ( tr_ptrArray*, void* );
void* tr_ptrArrayPop ( tr_ptrArray* );
void tr_ptrArrayErase ( tr_ptrArray*, int begin, int end );
int tr_ptrArraySize ( const tr_ptrArray* );
int tr_ptrArrayEmpty ( const tr_ptrArray* );