aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-27 23:39:48 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-09-28 00:06:07 +0200
commit5d0a3f4599e33f32239aa1c9ad5d2741efed653f (patch)
treea9d722df8002f17cd1e17316d4d598c0cd26f200 /include
parent1cf9256b38465989ac2fedfdb8a6aebeeeb628e4 (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 'include')
0 files changed, 0 insertions, 0 deletions