Commit b3a1990
authored
Fix handling of corrupt RLE data (#2156)
* Fix handling of corrupt RLE data
If the size of the uncompressed RLE data does not match the expected
output size, the chunk is corrupt, so report an error.
Signed-off-by: Cary Phillips <cary@ilm.com>
* remove packsz>0 because of the packsize==0 above
Signed-off-by: Cary Phillips <cary@ilm.com>
---------
Signed-off-by: Cary Phillips <cary@ilm.com>1 parent fd657e8 commit b3a1990
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
0 commit comments