contrib/check-code.py
changeset 28595 adda6dee600e
parent 28594 d3990da51637
child 28700 35ad5bcdeb7e
--- a/contrib/check-code.py	Sat Mar 19 20:18:38 2016 -0400
+++ b/contrib/check-code.py	Sat Mar 19 20:49:02 2016 -0400
@@ -360,6 +360,7 @@
     (r'[^\n]\Z', "no trailing newline"),
     (r'^\s*#import\b', "use only #include in standard C code"),
     (r'strcpy\(', "don't use strcpy, use strlcpy or memcpy"),
+    (r'strcat\(', "don't use strcat"),
   ],
   # warnings
   []