Commit c6dcef4
committed
Work around Coverity false positive
CID 456638 Overflowed integer argument (INTEGER_OVERFLOW)
`buffer_size - total_bytes_read - 1UL`, which might have underflowed,
is passed to `read()`.1 parent 8b90c50 commit c6dcef4
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
182 | | - | |
| 181 | + | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
| |||
0 commit comments