We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d6cbf2f + dc773a6 commit c8abf65Copy full SHA for c8abf65
commit.c
@@ -1416,7 +1416,7 @@ static int find_invalid_utf8(const char *buf, int len)
1416
if ((codepoint & 0x1ff800) == 0xd800)
1417
return bad_offset;
1418
/* U+xxFFFE and U+xxFFFF are guaranteed non-characters. */
1419
- if ((codepoint & 0xffffe) == 0xfffe)
+ if ((codepoint & 0xfffe) == 0xfffe)
1420
1421
/* So are anything in the range U+FDD0..U+FDEF. */
1422
if (codepoint >= 0xfdd0 && codepoint <= 0xfdef)
0 commit comments