Archive for September, 2007

I am not OJ Simpson

September 21st

In recent weeks I’ve seen interesting patterns of traffic to the site. I have been trying to figure out exactly what leads people here, but it has been a hard thing to put a finger on (despite the amazing functionality of Google Analytics). I had a sneaking suspicion for a while that I’ve been getting [...]

WTF: Random Memory Contents

September 3rd

If any of you out there are able to give me ONE GOOD REASON why anyone would do something like this, then please let me know. Below are “customised” realloc() and malloc() I recently stumbled across (yes, they get called. A LOT):
[source:cpp]void *mcRealloc( void *P, int SIZE )
{
int oldSize = _msize( P );
[...]

Size

Colors