Priority: P1: Critical
Affects Version/s: 5.15, 6.x
Fix Version/s: None
Component/s: Widgets: Layout
Environment:Tested with Qt 5.10.0 on Windows
Repeated calls to
(e.g. in a UI that is constantly updating) lead to an overflow of
resulting in a negative index into
and subsequent memory corruption.
Recommend to change datatype of
This also applies to the local variable
A change to
would be good.