Re: Secure C programming
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 20:52:24 GMT
On Mon, 31 Dec 2007 13:46:14 -0600, Golden California Girls wrote
(in article <_tKdnU3lvLCH2uTanZ2dnUVZ_vGinZ2d@xxxxxxxxxxxxxxxxxxxxx>):
Chris Thomasson wrote:humans
"Rico Secada" <coolzone@xxxxx> wrote in message
news:20071230223029.f17f1c63.coolzone@xxxxxxxx
Hi.
Doesn't there exist any complete texts on what to do and not do when
programming in C, from a security perspective?
Preferably with examples.
Don't program C if you don't know how to avoid common pitfalls; C gets a
bad rap sometimes. It's the fault of all the _lazy/crap_ programmers out
there which frequently create applications that do not even seem to have
any sense of where there buffer(s) begin, or _end_!!
Yikes! ;^(...
Think your finger is pointing in the wrong direction. Anyone who knows
knows that an IQ of 100 is average. A person who designs something that theya
know will be used by an average person but doesn't design it for use by such
person is the one who should have the fault heaped on them.
So you suggest that programming languages should be designed for use by
average people from the general population? Or the standard library as
well? I'm quite confident that it wasn't believed that the average
person off the street was the target audience for C when it was
designed originally, but dmr may see fit to confirm or deny it.
If that is the goal today, it would certainly explain some of the new
languages that have appeared more recently. ;-)
When the standard
library and strings were defined, security may not have been an issue. Bad
future prediction I will forgive. However I can't forgive the standards
people
for continuing to permit it. Depreciated should be enforced. Yes, break the
program or make them compile it under the old standard.
You are now referring to things like gets() and company?
--
Randy Howard (2reply remove FOOBAR)
"The power of accurate observation is called cynicism by those
who have not got it." - George Bernard Shaw
.
- References:
- Secure C programming
- From: Rico Secada
- Re: Secure C programming
- From: Chris Thomasson
- Re: Secure C programming
- From: Golden California Girls
- Secure C programming
- Prev by Date: Re: Table based programming.
- Next by Date: Re: Cannot compile with _FILE_OFFSET_BITS = 64
- Previous by thread: Re: Secure C programming
- Next by thread: Re: Secure C programming
- Index(es):
Relevant Pages
|