Closed GoogleCodeExporter closed 9 years ago
http://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html
It's actually fine, but Valgrind doesn't know.
I may end up adding a memset in the allocation anyway
(it's already there if you compile in debug mode)
just to quiet this sort of complaint, but it's definitely
not necessary for correctness.
Original comment by rsc@swtch.com
on 25 Jun 2010 at 2:43
Perhaps you could add the attached Valgrind suppressions to the tree in lieu of
changing the code.
Original comment by william%...@gtempaccount.com
on 25 Jun 2010 at 9:09
Attachments:
Original issue reported on code.google.com by
william%...@gtempaccount.com
on 24 Jun 2010 at 11:12