3 ms·
Thank goodness we have Valgrind these days. Though I don't know how well it would handle a C app with a garbage collector. Calling printf can (will) change wh
by nitrogen 11y ago
Thank goodness we have Valgrind these days. Though I don't know how well it would handle a C app with a garbage collector.
Calling printf can (will) change what's beyond the stack of the calling function, so if the pointer in question pointed outside the active stack, printf may have put a safer value there by coincidence.