diff --git a/src/crc.c b/src/crc.c index 62bb3c80..8c8418a8 100644 --- a/src/crc.c +++ b/src/crc.c @@ -90,6 +90,7 @@ unsigned int get_crc32(const void*buf, const unsigned int len, const uint32_t se unsigned int i; register uint32_t crc32val; const unsigned char *s=(const unsigned char *)buf; + /*@ assert \valid_read(s + (0 .. len-1)); */ crc32val = seed; /*@ loop invariant 0 <= i <= len; @ loop assigns i, crc32val; */