[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#177242: libc6: MALLOC_CHECK_ broken on hppa?



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




Reply to: