diff --git a/C/Makefile b/C/Makefile index e1d9b74..a9df9a1 100644 --- a/C/Makefile +++ b/C/Makefile @@ -19,7 +19,7 @@ PLUGIN_TARGETS = $(patsubst filters/%.c,$(BUILDDIR)/%.so,$(PLUGIN_C_SRCS)) # Security Testing Targets TEST_TARGET = $(BUILDDIR)/security_tests -TEST_SRC = ../tests/secutrity_test.c +TEST_SRC = ../tests/security_tests.c FILTER_SRCS = filters/edge_detect.c filters/invert.c filters/threshold.c .PHONY: all clean plugins test diff --git a/tests/secutrity_test.c b/tests/security_tests.c similarity index 95% rename from tests/secutrity_test.c rename to tests/security_tests.c index 11c4d16..f3f4078 100644 --- a/tests/secutrity_test.c +++ b/tests/security_tests.c @@ -1,3 +1,8 @@ +/* +Tests for plugins must never corrupt heap or crash due to integer +overflow in dimension-based allocations. +*/ + #include #include #include