2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-05-13 09:54:10 +00:00
Files
xNBA/src/core
Michael Brown 13e4b9ec49 [malloc] Avoid immediately clobbering reference count when freeing memory
Rearrange the fields in struct memory_block (without altering
MIN_MEMBLOCK_SIZE) so that the "count" field of a reference-counted
object is left intact when the memory containing the object is freed.
This allows for the possibility of detecting reference-counting errors
such as double-freeing.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2010-11-08 03:35:35 +00:00
..
2010-04-19 23:43:39 +01:00
2010-05-27 01:18:17 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-25 17:25:30 +01:00
2006-12-20 03:49:36 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2005-03-08 18:53:11 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-08-19 12:22:07 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-11-08 03:15:28 +00:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-08-17 14:39:10 +01:00
2010-08-19 12:22:07 +01:00
2010-04-19 23:43:39 +01:00
2010-04-19 23:43:39 +01:00
2010-09-05 03:12:17 +01:00