changeset 23 | 89e065397ea6 |
parent 18 | 2f34d5167611 |
--- a/src/corelib/xml/qxmlstream.g Fri May 14 16:40:13 2010 +0300 +++ b/src/corelib/xml/qxmlstream.g Thu May 27 13:40:48 2010 +0300 @@ -748,7 +748,7 @@ state_stack[tos] = 0; return true; } else if (act > 0) { - if (++tos == stack_size) + if (++tos == stack_size-1) reallocateStack(); Value &val = sym_stack[tos];