VirtualBox

Ignore:
Timestamp:
Jan 13, 2009 5:23:35 PM (16 years ago)
Author:
vboxsync
Message:

XPCOM/DConnect: Fixed SEGFAULT: access to released interface pointer when processing incoming method call requests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src/ipcDConnectService.cpp

    r11685 r15922  
    27992799#ifdef VBOX /* tracking an illegal join in Shutdown. */
    28002800    NS_ASSERTION(!mDisconnected, "CreateWorker racing Shutdown");
    2801 #endif 
     2801#endif
    28022802    if (!mWorkers.AppendElement(worker))
    28032803      rv = NS_ERROR_OUT_OF_MEMORY;
     
    36343634  const nsXPTMethodInfo *methodInfo;
    36353635  nsXPTCVariant *params = nsnull;
    3636   nsIInterfaceInfo *iinfo = nsnull;
     3636  nsCOMPtr<nsIInterfaceInfo> iinfo = nsnull;
    36373637  PRUint8 i, paramCount = 0, paramUsed = 0;
    36383638  nsresult rv;
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