mnaydenov / FreeImage-Adv

The FreeImage library with some additional features. These include: CMake support, progress and cancelation support (partial).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

clarification of the functionality.

ihsinme opened this issue · comments

Good afternoon.
I am confused about the use of tmpnam functions in your code.

if ((pFilename = tmpnam(NULL)) == NULL)

If you want to get an unused name on the system.
do you consider the threat, the file can be created between scan and open?

thanks for taking the time to answer.

Hello, LibJXR is an external library, originally provided by Microsoft, and part of the original FreeImage repo. I haven't personally reviewed the external libs other than making them compile. The library itself has a github clone (jxrlib), may be You can ask Your question there.
Thanks for the interest.