Commit ed1afd77 authored by Matthias Clasen's avatar Matthias Clasen

Fix a memory overrun

svn path=/trunk/; revision=5928
parent 08ddf996
2007-11-24 Matthias Clasen <mclasen@redhat.com>
* tests/base64-test.c: Fix a memory overrun.
2007-11-24 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
......
......@@ -24,7 +24,7 @@ test_incremental (gboolean line_break,
guchar *data2;
data2 = g_malloc (length);
text = g_malloc (length * 2);
text = g_malloc (length * 4);
len = 0;
state = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment