@@ -0,0 +1,17 @@
// Demonstrates memory error via valgrind
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int *x = malloc(3 * sizeof(int));
return 1;
}
x[0] = 72;
x[1] = 73;
x[2] = 33;
free(x);
return 0;
The note is not visible to the blocked user.