diff options
author | Jakob Kaivo <jkk@ung.org> | 2024-06-11 13:44:21 -0400 |
---|---|---|
committer | Jakob Kaivo <jkk@ung.org> | 2024-06-11 13:44:21 -0400 |
commit | 4f29706128f3d3a66f0503d07c4960d4021aaf27 (patch) | |
tree | 7f76ae1b7819b99756feb1daf93cfe31d5c41c3b /src/string/strspn.c | |
parent | 523944d96e11bde68bf9bcf8e42b7ebc99c5ed3d (diff) |
support watching for dangerous parameter accessnon-posix
Diffstat (limited to 'src/string/strspn.c')
-rw-r--r-- | src/string/strspn.c | 1 |
1 files changed, 1 insertions, 0 deletions
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++) { |