summaryrefslogtreecommitdiff
path: root/src/string/strcmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/strcmp.c')
-rw-r--r--src/string/strcmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/string/strcmp.c b/src/string/strcmp.c
index 750f6772..d609a3d9 100644
--- a/src/string/strcmp.c
+++ b/src/string/strcmp.c
@@ -8,6 +8,7 @@ int strcmp(const char *s1, const char *s2)
SIGNAL_SAFE(0);
ASSERT_NONNULL(s1);
ASSERT_NONNULL(s2);
+ /* TODO: dangerous read * 2 */
/* no modifcation, overlap is OK */
while (*s1 && *s2) {