mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
added an error output for invalid image_size
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5195 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
94729aae4b
commit
c78ca83090
1 changed files with 1 additions and 0 deletions
|
@ -1098,6 +1098,7 @@ RsChatAvatarItem::RsChatAvatarItem(void *data,uint32_t /*size*/)
|
|||
offset += image_size ;
|
||||
}else{
|
||||
ok = false;
|
||||
std::cerr << "offset+image_size exceeds rssize" << std::endl;
|
||||
}
|
||||
|
||||
if (offset != rssize)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue