Commit 6886712
committed
simplified buffer precondition in fgets
Since we are interested in checking if the buffer is writable and we are
assuming that str_length < size, verify __CPROVER_w_ok(str, str_length + 1)
is the same as verify __CPROVER_w_ok(str, size).1 parent b245ff1 commit 6886712
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
265 | | - | |
| 263 | + | |
266 | 264 | | |
267 | 265 | | |
268 | 266 | | |
| |||
0 commit comments