Add a way to limit deserialized string lengths
and use it for most strings being serialized.
This commit is contained in:
@@ -60,9 +60,9 @@ public:
|
||||
READWRITE(setSubVer);
|
||||
READWRITE(nPriority);
|
||||
|
||||
READWRITE(strComment);
|
||||
READWRITE(strStatusBar);
|
||||
READWRITE(strReserved);
|
||||
READWRITE(LIMITED_STRING(strComment, 65536));
|
||||
READWRITE(LIMITED_STRING(strStatusBar, 256));
|
||||
READWRITE(LIMITED_STRING(strReserved, 256));
|
||||
)
|
||||
|
||||
void SetNull();
|
||||
|
||||
Reference in New Issue
Block a user