Re: Secure C programming



Chris Thomasson wrote:
"jacob navia" <jacob@xxxxxxxxxx> wrote in message news:flaec9$6l5$2@xxxxxxxxxxx
Chris Thomasson wrote:
"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! ;^(...

Here we have the example of somebody that can't answer a simple
question and starts ranting for no reason.
[...]

Sorry about that. It just that C can be used to create bug-free programs. It takes a level of level that a lot of programmers don't seem to have...

Is that a radical line of thinking?

This is a much better answer. A person that wants to learn how
to program in C without doing the beginner's mistakes is well
server by a good book. And there are good ones, as many people
here have pointed out.

Thanks for clarifying your position.

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
.



Relevant Pages

  • Re: When to emit diagnistics
    ... "char is different from signed char and unsigned char. ... Is that slapdash blinkered attitude typical of windows programmers? ... What you consider pedantic most professional programmers would consider ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: What is a stack frame?
    ... programmers say that the first thing they do with new code is to ... to follow the code flow. ... control flow is more interesting than the *specific* control flow ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: What is a stack frame?
    ... programmers say that the first thing they do with new code is to ... control flow is more interesting than the *specific* control flow ... I have seen bugs using debuggers ... jacob at jacob point remcomp point fr ...
    (comp.lang.c)
  • Re: dh, the daemon helper
    ... a large fraction of the C programmers not ... at all familiar with Unix. ... But I want extra publicity for dh. ... What is it about people like you and Jacob, that you just can't be happy ...
    (comp.lang.c)
  • Re: The problems in comp.lang.c
    ... positive posters here (I'd especially like to thank jacob navia for his ... The main example seems to be Richard Heathfield - I don't know what the ... You can read about the history on the Google Groups archive. ... stupidity will drive away ordinary C programmers who might want to share ...
    (comp.lang.c)