diff options
Diffstat (limited to 'erts/emulator/pcre/pcre_valid_utf8.c')
-rw-r--r-- | erts/emulator/pcre/pcre_valid_utf8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/pcre/pcre_valid_utf8.c b/erts/emulator/pcre/pcre_valid_utf8.c index 1dc1f9ba0c..95a60c3fdb 100644 --- a/erts/emulator/pcre/pcre_valid_utf8.c +++ b/erts/emulator/pcre/pcre_valid_utf8.c @@ -219,7 +219,7 @@ for (p = string; length-- > 0; p++) switch (ab) { /* 2-byte character. No further bytes to check for 0x80. Check first byte - for for xx00 000x (overlong sequence). */ + for xx00 000x (overlong sequence). */ case 1: if ((c & 0x3e) == 0) { @@ -251,7 +251,7 @@ for (p = string; length-- > 0; p++) break; /* 4-byte character. Check 3rd and 4th bytes for 0x80. Then check first 2 - bytes for for 1111 0000, xx00 xxxx (overlong sequence), then check for a + bytes for 1111 0000, xx00 xxxx (overlong sequence), then check for a character greater than 0x0010ffff (f4 8f bf bf) */ case 3: |