Commit 9f04e7b
committed
fix: verify suffix range ends at file boundary in
The suffix match only checked that the range length equaled the
requested suffix, but did not verify the range ends at the file
boundary. When size is known, also check `range.end() + 1 == size`.matches_requested_range
1 parent 1f3be60 commit 9f04e7b
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
| |||
0 commit comments