mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix a memory overrun
svn path=/trunk/; revision=5928
This commit is contained in:
parent
08ddf99627
commit
ed1afd7772
@ -1,3 +1,7 @@
|
|||||||
|
2007-11-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* tests/base64-test.c: Fix a memory overrun.
|
||||||
|
|
||||||
2007-11-24 Matthias Clasen <mclasen@redhat.com>
|
2007-11-24 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
|
* glib/gutils.c: Remove leftover ENABLE_NLS #ifdefs.
|
||||||
|
@ -24,7 +24,7 @@ test_incremental (gboolean line_break,
|
|||||||
guchar *data2;
|
guchar *data2;
|
||||||
|
|
||||||
data2 = g_malloc (length);
|
data2 = g_malloc (length);
|
||||||
text = g_malloc (length * 2);
|
text = g_malloc (length * 4);
|
||||||
|
|
||||||
len = 0;
|
len = 0;
|
||||||
state = 0;
|
state = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user