On Sat, Jun 03, 2006 at 05:38:25PM -0300, Kroty wrote:
> Hi folks,
>
> I'm running OpenBSD 3.9 and I have a program that is giving
> some unexpected output.
> But, if I run it with MALLOC_OPTIONS="G", I works fine.
>
> What does it mean? I've read the malloc(3) manpage, but
> I don't quite understand what the G option does.
>
> Could you please give me some more details on what it does
> or what would it be useful for?
>
> Thanks in advance.
G should make the program crash if it reads or writes off the end of a
sufficiently large (> 1 page) dynamically allocated array. Not something
I'd expect to help a program work as expected...
Joachim