From c0ddc27b5d75766d99d2e7a0ec1f9bf7e87768c7 Mon Sep 17 00:00:00 2001 From: Harshit-Dhanwalkar Date: Mon, 1 Jun 2026 23:26:51 +0530 Subject: [PATCH] rename file to security_tests.c --- C/Makefile | 2 +- tests/{secutrity_test.c => security_tests.c} | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) rename tests/{secutrity_test.c => security_tests.c} (95%) 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