mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02: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:
committed by
Matthias Clasen
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 },
|
||||
|
Reference in New Issue
Block a user