Commit c4d0f90f authored by Howard Chu's avatar Howard Chu
Browse files

Fix loading of printable dump

Off-by-one in end check, would complain on valid input.
parent 38e71c68
......@@ -239,7 +239,7 @@ badend:
if (c2[1] == '\\') {
c1++; c2 += 2;
} else {
if (c2+3 >= end || !isxdigit(c2[1]) || !isxdigit(c2[2])) {
if (c2+3 > end || !isxdigit(c2[1]) || !isxdigit(c2[2])) {
Eof = 1;
badend();
return EOF;
......
Supports Markdown
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