From 975bcfbe1fb3d7c52273c875394d4693bccaae88 Mon Sep 17 00:00:00 2001 From: Ruben Carlo Benante Date: Fri, 22 May 2026 19:24:42 -0300 Subject: [PATCH] IMPROVES-i10 check sequal for null --- cmp11sht.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmp11sht.c b/cmp11sht.c index a76cd39..33cadca 100644 --- a/cmp11sht.c +++ b/cmp11sht.c @@ -169,6 +169,8 @@ int sequal(char *a, char *b, float thr, float *ratio, char *s1, char *s2) { int i; + if(!a || !b || !s1 || !s2 || !ratio) return 3; /* error sentinel */ + // remove accents asciify(a, s1); asciify(b, s2);