diff --git a/ChangeLog b/ChangeLog index c179bc03e..dd640524e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index c179bc03e..dd640524e 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index c179bc03e..dd640524e 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index c179bc03e..dd640524e 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index c179bc03e..dd640524e 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index c179bc03e..dd640524e 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Sat Nov 15 23:00:57 2003 Matthias Clasen + + * glib/guniprop.c (g_utf8_casefold): Add a NULL check + to be consistent with the other g_utf8_ functions. (#121618, + Tim-Philipp Müller) + 2003-11-15 Tor Lillqvist * tests/makefile.msc.in: Fix for MSVC build: Skip strtod-test, use diff --git a/glib/guniprop.c b/glib/guniprop.c index 8603a81b2..5d4c4f472 100644 --- a/glib/guniprop.c +++ b/glib/guniprop.c @@ -945,6 +945,8 @@ g_utf8_casefold (const gchar *str, GString *result = g_string_new (NULL); const char *p; + g_return_val_if_fail (str != NULL, NULL); + p = str; while ((len < 0 || p < str + len) && *p) {