VirtualBox

Changeset 85844 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Aug 20, 2020 1:14:20 PM (4 years ago)
Author:
vboxsync
Message:

Debugger: Don't crash with an UAF when closing the debugger console with ASAN enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/VBoxDbgBase.cpp

    r82968 r85844  
    229229{
    230230    bool fRc = QWidget::event(a_pEvt);
    231     vPolishSizeAndPos();
     231    if (   a_pEvt->type() == QEvent::Paint
     232        || a_pEvt->type() == QEvent::UpdateRequest
     233        || a_pEvt->type() == QEvent::LayoutRequest) /** @todo Someone with Qt knowledge should figure out how to properly do this. */
     234        vPolishSizeAndPos();
    232235    return fRc;
    233236}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette