projects
/
platform
/
upstream
/
glib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix a memory overrun
[platform/upstream/glib.git]
/
tests
/
base64-test.c
diff --git
a/tests/base64-test.c
b/tests/base64-test.c
index
4d74721
..
a021435
100644
(file)
--- a/
tests/base64-test.c
+++ b/
tests/base64-test.c
@@
-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;