mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
set max GxsId nickname size to some arbitrary value to avoid crazy long nicknames crafted to break the GUI. This should also be checked when de-serialising groups at a wider scale for group names in general
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8125 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f4cd4dbdb0
commit
2f2d01dc41
4 changed files with 19 additions and 7 deletions
|
@ -44,7 +44,6 @@ extern RsIdentity *rsIdentity;
|
|||
// GroupFlags: Only one so far:
|
||||
#define RSGXSID_GROUPFLAG_REALID 0x0001
|
||||
|
||||
|
||||
// THESE ARE FLAGS FOR INTERFACE.
|
||||
#define RSID_TYPE_MASK 0xff00
|
||||
#define RSID_RELATION_MASK 0x00ff
|
||||
|
@ -60,6 +59,8 @@ extern RsIdentity *rsIdentity;
|
|||
|
||||
#define RSRECOGN_MAX_TAGINFO 5
|
||||
|
||||
#define RSID_MAXIMUM_NICKNAME_SIZE 30
|
||||
|
||||
std::string rsIdTypeToString(uint32_t idtype);
|
||||
|
||||
class GxsReputation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue