Re: No need for AV tools on Linux, eh?



On 2/18/11 4:00 PM, Joe Zeff wrote:
On 02/18/2011 02:44 PM, Ian Malone wrote:
Used properly, yes you've avoided buffer overruns, used badly no.
strncpy(dest,src,strlen(src)+1)
Ridiculous? Yes. Never used in practice? I'd like to believe it.
strncpy has been in C since it was first standardised, but people
still write code that overflows.
This is what code review is for.
+1. I used to get paid to do this and you would not believe the coding
mistakes I found.

James McKenzie
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



Relevant Pages

  • Re: No need for AV tools on Linux, eh?
    ... Never used in practice? ... strncpy has been in C since it was first standardised, ... To unsubscribe or change subscription options: ... Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines ...
    (Fedora)
  • Re: RESPECT
    ... >> Over many years of practice Thomas White evolved some guidelines>> which, ... Arrive at the meeting early ... social interaction would reject the list George quotes before even ...
    (talk.religion.buddhism)
  • Re: Assumption of standard
    ... assume arms that do not comply with the guidelines and the society ... website (and the person can still be a member of course). ... Guidelines for Heraldic Practice and rule regarding orders, ... is what heraldry is all about - recognising facts about people from ...
    (rec.heraldry)
  • Re: End of life for FC12?
    ... On practice there's a combination of the two above reasons. ... I have a bunch of word and excel documents on disk D:\..." ... And when hearing the answer the second reason appears the scene: ... To unsubscribe or change subscription options: ...
    (Fedora)
  • Re: Question about "Medical Protocol"
    ... Doctors can practice medicine in their office all they want. ... I never said that all meds have guidelines. ... You keep on skirting the issue by saying that doctors can rely on experience ...
    (sci.med.cardiology)