mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Don't go in an infinite loop if the input text ends in an incomplete
2005-08-02 Matthias Clasen <mclasen@redhat.com> * glib/gconvert.c (g_convert_with_iconv): Don't go in an infinite loop if the input text ends in an incomplete multibyte character. (#312402, Sebastian Bacher)
This commit is contained in:
parent
988eaa83c0
commit
74ff285644
@ -1,5 +1,9 @@
|
||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gconvert.c (g_convert_with_iconv): Don't go in an
|
||||
infinite loop if the input text ends in an incomplete multibyte
|
||||
character. (#312402, Sebastian Bacher)
|
||||
|
||||
* Bump version
|
||||
|
||||
* === Released 2.7.5 ===
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gconvert.c (g_convert_with_iconv): Don't go in an
|
||||
infinite loop if the input text ends in an incomplete multibyte
|
||||
character. (#312402, Sebastian Bacher)
|
||||
|
||||
* Bump version
|
||||
|
||||
* === Released 2.7.5 ===
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gconvert.c (g_convert_with_iconv): Don't go in an
|
||||
infinite loop if the input text ends in an incomplete multibyte
|
||||
character. (#312402, Sebastian Bacher)
|
||||
|
||||
* Bump version
|
||||
|
||||
* === Released 2.7.5 ===
|
||||
|
@ -1,5 +1,9 @@
|
||||
2005-08-02 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gconvert.c (g_convert_with_iconv): Don't go in an
|
||||
infinite loop if the input text ends in an incomplete multibyte
|
||||
character. (#312402, Sebastian Bacher)
|
||||
|
||||
* Bump version
|
||||
|
||||
* === Released 2.7.5 ===
|
||||
|
@ -544,6 +544,7 @@ g_convert_with_iconv (const gchar *str,
|
||||
{
|
||||
case EINVAL:
|
||||
/* Incomplete text, do not report an error */
|
||||
done = TRUE;
|
||||
break;
|
||||
case E2BIG:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user