projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6668343
)
valgrind complaint fix!zero out stack before use in embryo.
author
Carsten Haitzler
<raster@rasterman.com>
Wed, 25 Apr 2012 10:43:04 +0000
(10:43 +0000)
committer
Carsten Haitzler
<raster@rasterman.com>
Wed, 25 Apr 2012 10:43:04 +0000
(10:43 +0000)
SVN revision: 70468
legacy/embryo/src/lib/embryo_amx.c
patch
|
blob
|
history
diff --git
a/legacy/embryo/src/lib/embryo_amx.c
b/legacy/embryo/src/lib/embryo_amx.c
index
7a41111
..
689e5e4
100644
(file)
--- a/
legacy/embryo/src/lib/embryo_amx.c
+++ b/
legacy/embryo/src/lib/embryo_amx.c
@@
-427,7
+427,7
@@
embryo_program_vm_push(Embryo_Program *ep)
return;
}
hdr = (Embryo_Header *)ep->code;
- ep->base =
malloc(
hdr->stp);
+ ep->base =
calloc(1,
hdr->stp);
if (!ep->base)
{
ep->pushes = 0;