ChrisDodd / btyacc

Backtracking yacc
17 stars 5 forks source link

Replace the function "mktemp" by "mkstemp" #6

Open elfring opened 8 years ago

elfring commented 8 years ago

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.

ChrisDodd commented 7 years ago

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