Closed lodo1995 closed 8 years ago
Found the problem: if the input is invalid, advanceUntilAny
may run out of bounds.
In debug mode, a RangeError
is thrown, which is interpreted by the test driver as a correct behaviour, while the correct behaviour would be to raise an UnexpectedEndOfStream
exception.
In release mode, no RangeError
is thrown, the parser does not perform any check and so a segmentation fault happens.
dub -b release -c test