Commit 52d258b
authored
### Rationale for this change
The original change from `data_size` to `data_size - 4` was made by me in #6848 and it was probably based on a misunderstanding, or just blindly copying the similar check for `Encoding::RLE` (which, unlike `Encoding::BIT_PACKED`, does have a 4-byte length header).
### Are these changes tested?
Yes, by existing CI tests.
### Are there any user-facing changes?
No, just a potential bugfix for an unlikely case.
* GitHub Issue: #48234
Authored-by: Antoine Pitrou <[email protected]>
Signed-off-by: Antoine Pitrou <[email protected]>
1 parent 0e2f4d8 commit 52d258b
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments