diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-27 23:39:48 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-09-28 00:06:07 +0200 |
commit | 5d0a3f4599e33f32239aa1c9ad5d2741efed653f (patch) | |
tree | a9d722df8002f17cd1e17316d4d598c0cd26f200 /lib/sqfs/io_file.c | |
parent | 1cf9256b38465989ac2fedfdb8a6aebeeeb628e4 (diff) |
Fix unwanted sign extension in lzma decompressor
First extend the uint8_t to size_t, then do the arithmetic, otherwise
there is an addtional implicit conversion to int, possibly resulting
in unwanted sign extension.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'lib/sqfs/io_file.c')
0 files changed, 0 insertions, 0 deletions