Re: Jemalloc SEGV for 1MB chunk

From: Christoph Mallon <christoph.mallon_at_gmx.de>
Date: Thu, 29 Jan 2009 00:03:41 +0100
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.
Received on Wed Jan 28 2009 - 22:03:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:41 UTC