Re: Reg. sprintf

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

 



Vivek Katakam wrote:

> When compilation i was getting this error thrown by the compiler and
> so I have used that:
> 
> the use of `mktemp' is dangerous, better use `mkstemp'

This message is telling you that using 'mktemp' is not secure and can
lead to vulnerabilities.  It does not mean that you can simply change
all references to 'mktemp' to 'mkstemp' without refactoring the code to
account for the fact that they work differently.

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux