CVSROOT: /cvs Module name: src Changes by: t...@cvs.openbsd.org 2021/06/20 08:08:42
Modified files: lib/libutil : fmt_scaled.c Log message: scan_scaled: fix rescaling for negative numbers As found by djm by fuzzing ssh, scan_scaled can overflow for negative numbers when rescaling is needed. This is because the rescaled fractional part is added without taking the sign into account. ok ian jca