mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +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 */
|
||||
{ "\x80", -1, 0, FALSE },
|
||||
{ "\xbf", -1, 0, FALSE },
|
||||
{ "\xbf\x80", -1, 0, FALSE },
|
||||
{ "\x80\xbf", -1, 0, FALSE },
|
||||
{ "\x80\xbf\x80", -1, 0, FALSE },
|
||||
{ "\x80\xbf\x80\xbf", -1, 0, FALSE },
|
||||
|
Loading…
Reference in New Issue
Block a user