VirtualBox

Ignore:
Timestamp:
Feb 10, 2014 4:01:05 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
92156
Message:

FE/Qt: use after free in logging statement

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/platform/darwin/DarwinKeyboard.cpp

    r49965 r50396  
    15811581            if (!darwinKbdCapsEventMatches(pEvent, pHidState->guestState.fCapsLockOn))
    15821582            {
    1583                 free(pEvent);
    15841583                CFArrayRemoveValueAtIndex(pHidState->pFifoEventQueue, iQueue);
    15851584
     
    15871586                    "ago. Carbon event should not be triggered, removed from queue\n", (int)pKbd->idxPosition,
    15881587                    RTTimeSystemMilliTS() - pEvent->tsKeyDown));
     1588                free(pEvent);
    15891589            }
    15901590            else
Note: See TracChangeset for help on using the changeset viewer.

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