Commit c456eab7 authored by jbeder's avatar jbeder
Browse files

Fixed out-of-bounds memory access

parent 952f7223
......@@ -167,7 +167,7 @@ namespace YAML
{
while(1) {
// first eat whitespace
while(IsWhitespaceToBeEaten(INPUT.peek()))
while(INPUT && IsWhitespaceToBeEaten(INPUT.peek()))
INPUT.eat(1);
// then eat a comment
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment