qubes-linux-utils/imgconverter/qubesimgconverter
Jean-Philippe Ouellet 349f79bc66
Fix off-by-one error in header length calculation
int(ceil(log10(100))) is one lower than it should be when max widths are
powers of 10. This means providing a value of 100 when the max is 100
produces an unexpected failure.

Was never triggered because imghdrlen args are only hard-coded
constants, but a bug is a bug.
2017-08-11 09:43:41 -04:00
..
__init__.py Fix off-by-one error in header length calculation 2017-08-11 09:43:41 -04:00
imggen.py Move imggen module from artwork. 2017-04-08 13:58:32 +02:00
test.py Fix off-by-one error in header length calculation 2017-08-11 09:43:41 -04:00