mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 23:49:35 -05: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
@ -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…
Reference in New Issue
Block a user