+2004-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_string):
+ Don't access invalid memory address if p wasn't
+ increased. (#159557, Frederic Crozat)
+
2004-11-25 Matthias Clasen <mclasen@redhat.com>
* tests/strtod-test.c (main): Add a testcase for the previous fix.
+2004-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_string):
+ Don't access invalid memory address if p wasn't
+ increased. (#159557, Frederic Crozat)
+
2004-11-25 Matthias Clasen <mclasen@redhat.com>
* tests/strtod-test.c (main): Add a testcase for the previous fix.
+2004-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_string):
+ Don't access invalid memory address if p wasn't
+ increased. (#159557, Frederic Crozat)
+
2004-11-25 Matthias Clasen <mclasen@redhat.com>
* tests/strtod-test.c (main): Add a testcase for the previous fix.
+2004-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_string):
+ Don't access invalid memory address if p wasn't
+ increased. (#159557, Frederic Crozat)
+
2004-11-25 Matthias Clasen <mclasen@redhat.com>
* tests/strtod-test.c (main): Add a testcase for the previous fix.
+2004-11-26 Matthias Clasen <mclasen@redhat.com>
+
+ * glib/gkeyfile.c (g_key_file_parse_value_as_string):
+ Don't access invalid memory address if p wasn't
+ increased. (#159557, Frederic Crozat)
+
2004-11-25 Matthias Clasen <mclasen@redhat.com>
* tests/strtod-test.c (main): Add a testcase for the previous fix.
p++;
}
- if (p[-1] == '\\' && error == NULL)
+ if (p > value && p[-1] == '\\' && error == NULL)
g_set_error (error, G_KEY_FILE_ERROR,
G_KEY_FILE_ERROR_INVALID_VALUE,
_("Key file contains escape character at end of line"));