mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
fixed memory issue, added signature verification (uncomplete)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5-OpenPGP@5072 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
33a37054e8
commit
eb448cbaaf
4 changed files with 35 additions and 2 deletions
|
@ -3032,6 +3032,9 @@ static int ops_parse_one_packet(ops_parse_info_t *pinfo,
|
|||
pinfo->rinfo.asize=0;
|
||||
CBP(pinfo,OPS_PARSER_PACKET_END,&content);
|
||||
}
|
||||
else
|
||||
C.packet.raw = NULL ;
|
||||
|
||||
pinfo->rinfo.alength=0;
|
||||
|
||||
free(C.packet.raw) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue