Skip to content

Commit 71b6088

Browse files
committed
msilo: fix excessive check
1 parent ed1fae8 commit 71b6088

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/msilo/msfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ int m_build_body(str *body, time_t date, str msg, time_t sdate)
242242
char *p;
243243

244244
if(!body || !(body->s) || body->len <= 0 || msg.len <= 0
245-
|| date < 0 || msg.len < 0 || (46+msg.len > body->len) )
245+
|| date < 0 || (46+msg.len > body->len) )
246246
goto error;
247247

248248
p = body->s;

0 commit comments

Comments
 (0)