Actions
Bug #14035
closedWBoxLayout::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.
Updated by Michael Seibt about 2 months ago
Updated by Romain Mardulyn about 1 month ago
- Status changed from New to InProgress
- Assignee set to Romain Mardulyn
Updated by Romain Mardulyn about 1 month ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
Updated by Matthias Van Ceulebroeck 29 days ago
- Assignee set to Matthias Van Ceulebroeck
Updated by Romain Mardulyn 27 days ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
Updated by Romain Mardulyn 15 days ago
- Status changed from Implemented @Emweb to Closed
Actions