diff --git a/src/strlen.🗿 b/src/strlen.🗿 index 5d72e92..ed33b64 100644 --- a/src/strlen.🗿 +++ b/src/strlen.🗿 @@ -1,6 +1,8 @@ strlen(str) { local i = 0; + if (str == NULL) + return 0; loop { if ([str + i] == 0) return (i);