[Development] Fixing QRect::width() / height()
marc.mutz at kdab.com
Tue Mar 15 19:06:50 CET 2016
On Tuesday 15 March 2016 15:43:09 Poenitz Andre wrote:
> > It's not impossible that this could be
> > exploited, too, e.g. if the app divides by a non-isNull rect's width and
> > the attacker forges the coordinates such that width() return 0
> Please describe how that can happen.
Run tst_qrect, isNull(LargestCoordQRect) produces true even though the rect
is definitely not null.
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
KDAB - The Qt Experts
More information about the Development