+---------- On Oct 24, Sanjivendra Nath said: > Why would a malloc(10 bytes) cause a segmentation violation?
Because the heap has been corrupted. Perhaps something called free twice on the same block, or wrote past the end of a block.
+---------- On Oct 24, Sanjivendra Nath said: > Why would a malloc(10 bytes) cause a segmentation violation?
Because the heap has been corrupted. Perhaps something called free twice on the same block, or wrote past the end of a block.