ObjFW  Hex Artifact Content

Artifact 6e357d636d5c53a62c678f013a9b09295f829372f99f2d3328796aed649adf3d:

Manifest of check-in [6e357d636d] - Fix a bug in -[freeMemory:].

This could be an out of bounds write if the last element is free'd,
as i is pointing to the last element then, which does not exist then
anymore, as it was already resized. Now, it is set before resizing.

Additionally, if the realloc to make it smaller fails, we just ignore
that now - it will still work, as we set the correct size before
resizing. by js on 2009-10-19 08:29:45.


A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.