[TUHS] Clueless programmers

Dave Horsfall dave at horsfall.org
Thu Feb 15 09:50:43 AEST 2018

On Thu, 15 Feb 2018, George Michaelson wrote:

> I (and I am self-confessed as the worlds least competent programmer) 
> frequently found the delay between where corruption in malloc is applied 
> and where its detected sufficiently confusing that I would have been 
> tempted to follow this well trodden "remove the free()" path.

MALLOC_CONF and Electric Fence are your friends; I never released any of 
my dynamic code without first running it past those (and some of my linked 
lists were hideous).

Dave Horsfall DTM (VK2KFU)  "Those who don't understand security will suffer."

More information about the TUHS mailing list