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 09:55 AM, Ian Malone wrote:
> To derail discussion slightly, this doesn't really fix the problem,
> just shifts it to a different place (keeping track of lengths and
> dynamically handling data)

In a word, "NO."  You know how big your buffer is so you only allow 
strncpy() to copy that many bytes, throwing away any excess.
-- 
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