Add end state to text handler and use to ensure that in nextTokenType to stop an out of bounds access to m_databuffer
This commit is contained in:
@@ -48,6 +48,7 @@ public:
|
||||
Text, /*!< Anything not a tag that doesn't have special handling */
|
||||
Tag, /*!< For any generic tag that doesn't have special handling */
|
||||
TextCode, /*!< Text between code tags */
|
||||
End, /*!< End of the input string */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user