diff options
Diffstat (limited to 'src/string/strcspn.c')
-rw-r--r-- | src/string/strcspn.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/string/strcspn.c b/src/string/strcspn.c index b5c3c506..c157f663 100644 --- a/src/string/strcspn.c +++ b/src/string/strcspn.c @@ -10,6 +10,8 @@ size_t strcspn(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; s1[i] != '\0'; i++) { |