diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-02-22 20:43:47 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-02-22 20:43:47 +0000 |
commit | e73674c6f6efb20713b9f5fa69ba35c198cc1135 (patch) | |
tree | f4004240c9b8a9020c0567c20de1c2232c756ec7 /security/its4/files/patch-aa | |
parent | Add malsync. (diff) |
Initial import of ITS4:
ITS4 is a tool that statically scans C and C++ source code for
potential security vulnerabilities.
Notes
Notes:
svn path=/head/; revision=26159
Diffstat (limited to 'security/its4/files/patch-aa')
-rw-r--r-- | security/its4/files/patch-aa | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/security/its4/files/patch-aa b/security/its4/files/patch-aa new file mode 100644 index 000000000000..ea3d12bfaf12 --- /dev/null +++ b/security/its4/files/patch-aa @@ -0,0 +1,25 @@ +--- configure.orig Mon Feb 21 11:53:17 2000 ++++ configure Mon Feb 21 23:25:16 2000 +@@ -18,7 +18,7 @@ + DATADIR= + MANDIR= + PROGNAME=its4 +-OPTIMIZATION=-O3 ++OPTIMIZATION=${CFLAGS} + QUIET= + CC= + INSTALLPROG= +@@ -192,11 +192,12 @@ + ###### Check for snprintf() + printf %s "Checking for snprintf()... " 1>&5 + cat >tmp.c <<EOF ++#include <stdio.h> + #include <string.h> + int main() + { + char buf[12]; +- snprintf(buf, "%s", 2, "foof"); ++ snprintf(buf, 2, "%s", "foof"); + } + EOF + if `${CC} tmp.c 2>/dev/null`; then |