From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave@horsfall.org (Dave Horsfall) Date: Thu, 15 Feb 2018 10:50:43 +1100 (EST) Subject: [TUHS] Clueless programmers In-Reply-To: References: <005301d3a5a0$226410d0$672c3270$@ronnatalie.com> Message-ID: 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."