Project

General

Profile

Bug #3543

WStackedWidget::removeChild segfault when removing current widget

Added by Iridian Kiiskinen almost 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
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() + ");");

Also available in: Atom PDF