mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
In order to avoid infinite loops on invalid UTF-8 strings, change the skip
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net> * glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops on invalid UTF-8 strings, change the skip count for 0xfe and 0xff from 0 to 1.
This commit is contained in:
parent
0d189bad07
commit
f344cb2cc2
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -1,3 +1,9 @@
|
||||
2001-11-28 Daniel Elstner <daniel.elstner@gmx.net>
|
||||
|
||||
* glib/gutf8.c (utf8_skip_data): In order to avoid infinite loops
|
||||
on invalid UTF-8 strings, change the skip count for 0xfe and 0xff
|
||||
from 0 to 1.
|
||||
|
||||
2001-11-28 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
|
||||
|
||||
* configure.in: Always call GLIB_SIZEOF(..., system_thread). Fixes
|
||||
|
@ -109,7 +109,7 @@ static const gchar utf8_skip_data[256] = {
|
||||
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,
|
||||
2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,
|
||||
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,0,0
|
||||
3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,6,6,1,1
|
||||
};
|
||||
|
||||
const gchar * const g_utf8_skip = utf8_skip_data;
|
||||
|
Loading…
Reference in New Issue
Block a user