[Chicago] Seasonal Greetings
Martin Maney
maney at two14.net
Sat Nov 1 17:23:35 CET 2008
On Fri, Oct 31, 2008 at 09:52:37PM -0400, Aaron Lav wrote:
> I suspect that other languages will always have Python beat in
> terms of scary things in libraries. For example, C has strcat
> and gets.
Sure, but.... doesn't everyone know better than to use those awful
things?
> Aaron "fixed-size buffer? STRCAT SMASH!"
CERT number to follow.
--
...and of course you must be careful not to overwrite the bounds of
memory blocks, free a memory block twice, forget to free a memory block,
use a memory block after it's been freed, use memory that you haven't
explicitly allocated, etc. We C++ programmers have developed tricks
to help us deal with this sort of thing, in much the same way that people
who suffer severe childhood trauma develop psychological mechanisms to
insulate themselves from those experiences. -- Joseph A. Knapka
More information about the Chicago
mailing list