Remove hack of replacing 0 with 1/LONG_MAX
...that hack was in there since the initial import, but it is unclear to me what it shall fix, and it rather leads to problems as reported by -fsanitize=signed-integer-overflow when OuptutDevice::PixelToLogic of a 1x1 Size calls ImplPixelToLogic with n=1, nMapDenom=LONG_MAX causing the computation of 2*n64 to overflow on 64-bit Linux. Change-Id: I2465da46175b8a1d4af1c23fb3df993230eec78d
Showing
Please
register
or
sign in
to comment