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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
-- 
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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux