Actions
Bug #14035
closed
AA
RM
WBoxLayout::itemAt() causes the application to crash.
Bug #14035:
WBoxLayout::itemAt() causes the application to crash.
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.
MS Updated by Michael Seibt 6 months ago
RM Updated by Romain Mardulyn 6 months ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
RM Updated by Romain Mardulyn 6 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
RM Updated by Romain Mardulyn 6 months ago
- Target version set to 4.13.0
MV Updated by Matthias Van Ceulebroeck 6 months ago
- Assignee set to Matthias Van Ceulebroeck
RM Updated by Romain Mardulyn 6 months ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
RM Updated by Romain Mardulyn 5 months ago
- Status changed from Implemented @Emweb to Closed
Actions