btyacc icon indicating copy to clipboard operation
btyacc copied to clipboard

Replace the function "mktemp" by "mkstemp"

Open elfring opened this issue 9 years ago • 1 comments

A message like the following can be displayed during the software build process.

warning: the use of `mktemp' is dangerous, better use `mkstemp'

This open issue can be fixed in the following ways.

elfring avatar May 07 '16 14:05 elfring

The proposed solutions just silence the warning and do nothing to fix the underlying security hole (which is casued by the fact that these files are closed then reopened for reading later in the program.)

ChrisDodd avatar Oct 22 '16 21:10 ChrisDodd