Re: No need for AV tools on Linux, eh?
- From: James McKenzie <jjmckenzie51@xxxxxxxxxxxxx>
- Date: Fri, 18 Feb 2011 19:01:08 -0700
On 2/18/11 4:00 PM, Joe Zeff wrote:
On 02/18/2011 02:44 PM, Ian Malone wrote:+1. I used to get paid to do this and you would not believe the coding
Used properly, yes you've avoided buffer overruns, used badly no.This is what code review is for.
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.
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
- Follow-Ups:
- Re: No need for AV tools on Linux, eh?
- From: les
- Re: No need for AV tools on Linux, eh?
- References:
- Re: No need for AV tools on Linux, eh?
- From: James Mckenzie
- Re: No need for AV tools on Linux, eh?
- From: Joe Zeff
- Re: No need for AV tools on Linux, eh?
- From: Rick Stevens
- Re: No need for AV tools on Linux, eh?
- From: Ian Malone
- Re: No need for AV tools on Linux, eh?
- From: Joe Zeff
- Re: No need for AV tools on Linux, eh?
- From: Ian Malone
- Re: No need for AV tools on Linux, eh?
- From: Joe Zeff
- Re: No need for AV tools on Linux, eh?
- Prev by Date: Re: Qn about rsnapshot/rsync directory filter rules
- Next by Date: Re: Playing .mov files in Fedora
- Previous by thread: Re: No need for AV tools on Linux, eh?
- Next by thread: Re: No need for AV tools on Linux, eh?
- Index(es):
Relevant Pages
|