[Tux3] [PATCH 02/10] don't use preallocation if BUFFER_PARANOIA_DEBUG is defined
OGAWA Hirofumi
hirofumi at mail.parknet.co.jp
Fri Oct 17 03:48:51 PDT 2008
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp> writes:
> If buffer was allocated linearly, hard to detect invalid buffer access.
> So, don't use preallocation if BUFFER_PARANOIA_DEBUG is defined.
BTW, with this, valgrind actually shows errors I don't check yet.
--
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
_______________________________________________
Tux3 mailing list
Tux3 at tux3.org
http://tux3.org/cgi-bin/mailman/listinfo/tux3
More information about the Tux3
mailing list