Bug #3543
WStackedWidget::removeChild segfault when removing current widget
Start date:
08/24/2014
Due date:
% Done:
0%
Estimated time:
Description
removeChild calls setCurrentWidget with currentIndex_ set to --1 (correctly), which results in an out-of-bounds access via widget(currentIndex_) on following lines:
WStackedWidget.C, commit d55ec821 "merged in bootstrap branch":
121: doJavaScript("$('#" + id() + "').data('obj').adjustScroll("
122: + widget(currentIndex_)->jsRef() + ");");