diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-03-01 12:04:16 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-03-01 12:04:16 +0000 |
commit | 34d9fa6c5645e69b797eef559965f8f03e60a32e (patch) | |
tree | f5cca6cf5d3dd41a68d285fd2fdf324a11e7a1b5 | |
parent | 6b59696fd7bb0ed19fda49ea62d236402440b359 (diff) |
Add strncpy and strncat to the list of prohibited APIs.
svn path=/trunk/; revision=24517
-rwxr-xr-x | tools/checkAPIs.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/checkAPIs.pl b/tools/checkAPIs.pl index cbbf2810a8..e1e2d92694 100755 --- a/tools/checkAPIs.pl +++ b/tools/checkAPIs.pl @@ -39,7 +39,9 @@ my @prohibitedAPIs= 'sprintf', 'vsprintf', 'strcpy', + 'strncpy', 'strcat', + 'strncat', 'cftime', 'ascftime', ### non-portable APIs |