src/file_lzh.c: fix wrong Frama-C annotations
This commit is contained in:
parent
73411e2f6d
commit
8582846b9b
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ static void file_rename_level0(file_recovery_t *file_recovery)
|
||||||
/*@ assert sizeof(struct lzh_level0) + hdr->filename_len <= buffer_size; */
|
/*@ assert sizeof(struct lzh_level0) + hdr->filename_len <= buffer_size; */
|
||||||
/*@
|
/*@
|
||||||
@ loop invariant 0 <= i <= hdr->filename_len;
|
@ loop invariant 0 <= i <= hdr->filename_len;
|
||||||
@ loop variant i;
|
@ loop assigns i;
|
||||||
@*/
|
@*/
|
||||||
for(i=0; i< hdr->filename_len && fn[i]!=0 && fn[i]!='.'; i++);
|
for(i=0; i< hdr->filename_len && fn[i]!=0 && fn[i]!='.'; i++);
|
||||||
/*@ assert 0 <= i <= hdr->filename_len; */
|
/*@ assert 0 <= i <= hdr->filename_len; */
|
||||||
|
|
Loading…
Reference in a new issue