Fix memory overrun

svn path=/branches/glib-2-14/; revision=5927
This commit is contained in:
Matthias Clasen
2007-11-24 16:22:57 +00:00
parent 5841896e07
commit 28d98268c1
2 changed files with 5 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
2007-11-24 Matthias Clasen <mclasen@redhat.com>
* tests/base64-test.c: Fix memory overrun.
2007-11-24 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@@ -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;