Commit [bc8cb8] Maximize Restore History

Don't rely on the behaviour of signed integer overflows

It is unspecified. Instead, use an unsigned type.
There should really be a better limit than just INT_MAX, but use that as
the code was already trying to limit it to it.

Additionally, check that another variable that is used as an array
accesor is not greater than the size of the buffer.

Raphael Geissert Raphael Geissert 2013-08-28

Konstanty Bialkowski Konstanty Bialkowski 2013-08-28

changed libmodplug/src/load_abc.cpp
libmodplug/src/load_abc.cpp Diff Switch to side-by-side view
Loading...