diff --git a/addons/cert.py b/addons/cert.py index e974a4f51..cf98c8ef2 100755 --- a/addons/cert.py +++ b/addons/cert.py @@ -317,6 +317,8 @@ def str05(data): # STR07-C # Use the bounds-checking interfaces for string manipulation def str07(data): + if(data.standards.c=='c89' or data.standards.c=='c99'): + return for token in data.tokenlist: if not isFunctionCall(token, ('strcpy', 'strcat')): continue