Actions
Bug #14035
openWBoxLayout::itemAt() causes the application to crash.
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/11/2025
Due date:
% Done:
0%
Estimated time:
Description
Thanks for your great work
In the WBoxLayout::itemAt()
document we have:
If there is no item at the index, the value 0 is returned.
But if WBoxLayout::itemAt(index)
is called with an index out of range, the program crashes.
I checked WBoxLayout.C and saw that the vector::[]operator
is used to access layout items without any bounds checking.
No data to display
Actions