mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-15 16:56:14 +01:00
glib/tests/utf8-validate: add another test for invalid continuation bytes
This would have caught the regression committed in the course of bug #738504.
This commit is contained in:
parent
d1f4d4a91a
commit
8ab28b448b
@ -84,6 +84,7 @@ Test test[] = {
|
|||||||
/* continuation bytes */
|
/* continuation bytes */
|
||||||
{ "\x80", -1, 0, FALSE },
|
{ "\x80", -1, 0, FALSE },
|
||||||
{ "\xbf", -1, 0, FALSE },
|
{ "\xbf", -1, 0, FALSE },
|
||||||
|
{ "\xbf\x80", -1, 0, FALSE },
|
||||||
{ "\x80\xbf", -1, 0, FALSE },
|
{ "\x80\xbf", -1, 0, FALSE },
|
||||||
{ "\x80\xbf\x80", -1, 0, FALSE },
|
{ "\x80\xbf\x80", -1, 0, FALSE },
|
||||||
{ "\x80\xbf\x80\xbf", -1, 0, FALSE },
|
{ "\x80\xbf\x80\xbf", -1, 0, FALSE },
|
||||||
|
Loading…
Reference in New Issue
Block a user