diff options
author | Gerald Combs <gerald@wireshark.org> | 2016-04-11 10:32:50 -0700 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-12 04:06:24 +0000 |
commit | 8710ce020549e7daad840d826fed8cdd088904cd (patch) | |
tree | d5a1bfc3a7faffaf45c913be3adea0285f4fcee3 /tools/checkAPIs.pl | |
parent | 26cf83504be3e6397444edce34b694c3ddba8f9a (diff) |
checkAPIs: Add links to banned functions.
Add links to Microsoft's "Security Development Lifecycle (SDL) Banned
Function Calls" and "Deprecated CRT Functions".
Change-Id: I6f1ffca8158b942fccb982868c6760c2c6e2d97c
Reviewed-on: https://code.wireshark.org/review/14881
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'tools/checkAPIs.pl')
-rwxr-xr-x | tools/checkAPIs.pl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index 62372bd5cf..0de0644ff2 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -47,7 +47,15 @@ my %APIs = ( 'prohibited' => { 'count_errors' => 1, 'functions' => [ # Memory-unsafe APIs # Use something that won't overwrite the end of your buffer instead - # of these: + # of these. + # + # Microsoft provides lists of unsafe functions and their + # recommended replacements in "Security Development Lifecycle + # (SDL) Banned Function Calls" + # https://msdn.microsoft.com/en-us/library/bb288454.aspx + # and "Deprecated CRT Functions" + # https://msdn.microsoft.com/en-us/library/ms235384.aspx + # 'gets', 'sprintf', 'g_sprintf', |