r/openbsd•
hurumph9

What exactly does malloc junking mean?

I found a program that segfaults when run with MALLOC_OPTIONS=J. The program appears to run fine without that option and also with options CFG. I read malloc(3). I do not fully understand how junking could make a program segfault. Does this mean a program tried to write into memory which has been freed? Thanks for your help.

Posted Jul 15, 2019, 9:04 AM UTC · edited

67
Loading comments…