memline: Silence “buffer underflow” warning, looks like false positive

This commit is contained in:
ZyX
2017-04-16 20:47:06 +03:00
parent 0f7c260cd8
commit 2394c9f2b7

View File

@@ -616,7 +616,7 @@ static bool ml_check_b0_strings(ZERO_BL *b0p)
return (memchr(b0p->b0_version, NUL, 10)
&& memchr(b0p->b0_uname, NUL, B0_UNAME_SIZE)
&& memchr(b0p->b0_hname, NUL, B0_HNAME_SIZE)
&& memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT));
&& memchr(b0p->b0_fname, NUL, B0_FNAME_SIZE_CRYPT)); // -V512
}
/*