VirtualBox

Changeset 22164 in vbox


Ignore:
Timestamp:
Aug 11, 2009 1:17:34 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
50939
Message:

ipcDConnectService.cpp: Set output variables to NULL instead of the pointer to it when deserializing a NULL string.

File:
1 edited

Legend:

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

    r21169 r22164  
    740740        {
    741741          // it's a null string
     742#ifdef VBOX
     743          *((char **) v.val.p) = NULL;
     744#else
    742745          v.val.p = 0;
     746#endif
    743747        }
    744748        else
     
    759763        {
    760764          // it's a null string
     765#ifdef VBOX
     766          *((PRUnichar **) v.val.p) = 0;
     767#else
    761768          v.val.p = 0;
     769#endif
    762770        }
    763771        else
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