Package: libc6
Version: 2.3.1-9
What's wrong here?
mimic% cat test.c
main() {
char *a=(char *)malloc(1);
free(a);
}
mimic% gcc test.c -o test
mimic% ./test
mimic% MALLOC_CHECK_=0 ./test
mimic% MALLOC_CHECK_=1 ./test
malloc: using debugging hooks
free(): invalid pointer 0x21010!
mimic% MALLOC_CHECK_=2 ./test
zsh: abort MALLOC_CHECK_=2 ./test