mirror of
https://git.tukaani.org/xz.git
synced 2025-02-23 08:58:31 +00:00
Use 64-bit integer as range encoder's cache size. This fixes a
theoretical data corruption, which should be very hard to trigger even intentionally.
This commit is contained in:
parent
641998c3e1
commit
7ab493924e
@ -26,8 +26,8 @@
|
||||
|
||||
typedef struct {
|
||||
uint64_t low;
|
||||
uint64_t cache_size;
|
||||
uint32_t range;
|
||||
uint32_t cache_size;
|
||||
uint8_t cache;
|
||||
} lzma_range_encoder;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user