diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-02-23 04:43:47 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-02-23 04:43:47 +0800 |
commit | 9d03aeec9d6a4e70ba363a072fad7c784704f8d5 (patch) | |
tree | 162a38d345f3bd1dbf4161e940640ee2da6ad236 /security/its4/files | |
parent | aaaddf6e8029875935d2c4c06d81d9335f00941c (diff) | |
download | freebsd-ports-gnome-9d03aeec9d6a4e70ba363a072fad7c784704f8d5.tar.gz freebsd-ports-gnome-9d03aeec9d6a4e70ba363a072fad7c784704f8d5.tar.zst freebsd-ports-gnome-9d03aeec9d6a4e70ba363a072fad7c784704f8d5.zip |
Initial import of ITS4:
ITS4 is a tool that statically scans C and C++ source code for
potential security vulnerabilities.
Diffstat (limited to 'security/its4/files')
-rw-r--r-- | security/its4/files/patch-aa | 25 | ||||
-rw-r--r-- | security/its4/files/patch-ab | 11 |
2 files changed, 36 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 diff --git a/security/its4/files/patch-ab b/security/its4/files/patch-ab new file mode 100644 index 000000000000..6e3c9cbf2a0b --- /dev/null +++ b/security/its4/files/patch-ab @@ -0,0 +1,11 @@ +--- Makefile.in.orig Mon Feb 21 11:53:17 2000 ++++ Makefile.in Tue Feb 22 09:16:02 2000 +@@ -24,7 +24,7 @@ + $(INSTALL) vulns.i4d $(INSTALL_DATADIR) + $(INSTALL) -d $(INSTALL_MANDIR)/man1 + $(INSTALL) docs/its4.1 $(INSTALL_MANDIR)/man1/ +- echo "Installation complete." ++ @echo "Installation complete." + + # Dependencies generated by g++ -M *.C | dependstrip >> Makefile.in + config.o: config.C config.H vulninfo.H formatter.H vulndb.H dict.H fatal.H query.H strpool.H |