From 4f29706128f3d3a66f0503d07c4960d4021aaf27 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 11 Jun 2024 13:44:21 -0400 Subject: support watching for dangerous parameter access --- src/string/strspn.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/string/strspn.c') diff --git a/src/string/strspn.c b/src/string/strspn.c index 82e0dc9c..43b3c617 100644 --- a/src/string/strspn.c +++ b/src/string/strspn.c @@ -10,6 +10,7 @@ size_t strspn(const char *s1, const char *s2) SIGNAL_SAFE(0); ASSERT_NONNULL(s1); ASSERT_NONNULL(s2); + /* TODO: two dangerous reads */ /* no modification, overlap is OK */ for (i = 0; i < strlen (s1); i++) { -- cgit v1.2.1