Skip to content

Commit

Permalink
check_for_unsafe_apis: add more
Browse files Browse the repository at this point in the history
the tmp* family
  • Loading branch information
rurban committed Sep 2, 2017
1 parent 2facfad commit c56d046
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/check_for_unsafe_apis
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ my %gFuncConvertMap = (
"gmtime" => "gmtime_s",
"localtime" => "localtime_s",
"getenv" => "getenv_s",
"tmpnam" => "mkstemp", #"tmpnam_s",
"tempnam" => "mkstemp", #"tmpnam_s",
"tmpfile" => "tmpfile_s",

# C11 std APIs (Misc)
"bsearch" => "bsearch_s",
Expand Down

0 comments on commit c56d046

Please sign in to comment.