Commit 68b14b8
committed
The decompressor incorrectly uses a block size that includes the BWT indexes to validate the number of chunks. In case the initial block size is slightlty lower than BLOCK_SIZE_THRESHOLD1 (256), the incorrect block size can be greater than 256, then the computed number of chunks is incorrect, leading to a decompression failure
1 parent 51f9b1b commit 68b14b8
1 file changed
+4
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 108 | | |
113 | 109 | | |
114 | 110 | | |
115 | 111 | | |
116 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
138 | | - | |
| 137 | + | |
139 | 138 | | |
140 | 139 | | |
141 | 140 | | |
| |||
0 commit comments