]> git.tdb.fi Git - r2c2.git/commit
Add an out-of-bounds check to SpeedQuantizer::get_speed
authorMikko Rasa <tdb@tdb.fi>
Thu, 11 Jul 2013 11:40:13 +0000 (14:40 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 11 Jul 2013 11:40:13 +0000 (14:40 +0300)
commit7fac28fcb5afb17eff7c459474e4cf884a02719c
treeda26eceb24561152bc640da49342f9612f7a52e9
parentf4b1ac84400a95e1a9fe68ff00bcd52e44911cf2
Add an out-of-bounds check to SpeedQuantizer::get_speed

Just in case the previous fix wasn't the only place that could generate
bogus values.
source/libr2c2/speedquantizer.cpp