1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02: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:
Lasse Collin 2008-04-24 17:30:51 +03:00
parent 641998c3e1
commit 7ab493924e

View file

@ -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;