Jemalloc SEGV for 1MB chunk

Christoph Mallon christoph.mallon at gmx.de
Wed Jan 28 15:03:45 PST 2009


Channa schrieb:
> Hi,
> Thanks for the reply.
> Does the same behaviour seen on FreeBSD environment?
> I am using FreeBSD libraries to test the test code.
> 
> So according to you its better to NULL terminate in the test code to avoid
> this undefined behaviour?

You have to avoid undefined behaviour. The moment you cause undefined 
behaviour the game is over.
BTW: The character is named NUL. NULL is the name of the symbolic null 
pointer constant.


More information about the freebsd-current mailing list