projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
crypto: fix bug in large buffer handling
[gnulib.git]
/
lib
/
unistr
/
u8-check.c
diff --git
a/lib/unistr/u8-check.c
b/lib/unistr/u8-check.c
index
368042b
..
c803754
100644
(file)
--- a/
lib/unistr/u8-check.c
+++ b/
lib/unistr/u8-check.c
@@
-1,5
+1,5
@@
/* Check UTF-8 string.
/* Check UTF-8 string.
- Copyright (C) 2002, 2006-2007, 2009-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2002, 2006-2007, 2009-201
2
Free Software Foundation, Inc.
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
Written by Bruno Haible <bruno@clisp.org>, 2002.
This program is free software: you can redistribute it and/or modify it
@@
-27,7
+27,7
@@
u8_check (const uint8_t *s, size_t n)
while (s < s_end)
{
while (s < s_end)
{
- /* Keep in sync with unistr.h and u
tf8-ucs4
.c. */
+ /* Keep in sync with unistr.h and u
8-mbtouc-aux
.c. */
uint8_t c = *s;
if (c < 0x80)
uint8_t c = *s;
if (c < 0x80)