diff --git a/src/machine-vuln1.c b/src/machine-vuln1.c
index 7b2d5fb0c23465dd08bd4f937d995803e93b1998..c0873626c6130d6e50c98997dc9fe5d698355779 100644
--- a/src/machine-vuln1.c
+++ b/src/machine-vuln1.c
@@ -56,11 +56,11 @@ unsigned int count = 0; /* counts number of instructions executed so far */
 
 static void machine_init(void){
   /*Change doesn't clean all of memory, doing a read on the last memory loc vuln*/
-  memory = malloc(sizeof(int32_t)*(MEMORY_SIZE-1));
+  memory = malloc(sizeof(int32_t)*(MEMORY_SIZE));
   regs = malloc(sizeof(int32_t)*NUM_REGS);
 
   /* memset can be vulnerable - changes to this can result in dirty memory to be read*/
-  memset(memory,0,sizeof(int32_t)*MEMORY_SIZE);
+ // memset(memory,0,sizeof(int32_t)*MEMORY_SIZE);
   memset(regs,0,sizeof(int32_t)*NUM_REGS);
   count = 0;
 }