3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-15 15:25:26 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-02-15 21:16:34 -10:00
parent 737cf63132
commit fcc40310c7
2 changed files with 2 additions and 1 deletions

View file

@ -379,7 +379,7 @@ namespace smt2 {
char const * scanner::cached_str(unsigned begin, unsigned end) {
m_cache_result.reset();
while (isspace(m_cache[begin]) && begin < end)
while (begin < end && isspace(m_cache[begin]))
begin++;
while (begin < end && isspace(m_cache[end-1]))
end--;