VirtualBox

Ignore:
Timestamp:
Jan 21, 2015 10:51:49 AM (10 years ago)
Author:
vboxsync
Message:

XPCOM: Fix message leak when a client death notification is received while there is another message on the queue

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/ipc/ipcd/client/src/ipcdclient.cpp

    r46494 r53891  
    11441144    return rv;
    11451145
    1146   // if the requested sender has died while waiting, return an error
    1147   if (data.senderDead)
    1148     return NS_ERROR_ABORT; // XXX better error code?
    1149 
    11501146  // if the selector has accepted some message, then we pass it to aConsumer
    11511147  // for safe processing.  The IPC susbsystem is quite stable here (i.e. we're
     
    11611157
    11621158  delete msg;
     1159
     1160  // if the requested sender has died while waiting, return an error
     1161  if (data.senderDead)
     1162    return NS_ERROR_ABORT; // XXX better error code?
    11631163
    11641164  return NS_OK;
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