treat unknown Status codes as FATAL
This commit is contained in:
1 parent
e7c69cb5d2
commit
89d2702cdc
1 file changed
+2
@@ -74,6 +74,8 @@ void Status::deserialize(ByteBuffer *buffer, DeserializableControl *flusher)
|
||||
}
|
||||
else
|
||||
{
|
||||
if(typeCode < 0 || typeCode > STATUSTYPE_FATAL)
|
||||
typeCode = STATUSTYPE_FATAL;
|
||||
m_statusType = (StatusType)typeCode;
|
||||
m_message = SerializeHelper::deserializeString(buffer, flusher);
|
||||
m_stackDump = SerializeHelper::deserializeString(buffer, flusher);
|
||||
|
||||
Reference in new issue
Block a user