VirtualBox

Ignore:
Timestamp:
Aug 10, 2011 11:48:29 AM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
73430
Message:

GuestCtrl: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestDirEntryImpl.cpp

    r38296 r38395  
    5959
    6060    mData.mNodeId = streamBlock.GetInt64("node_id");
    61     mData.mName =  BstrFmt("%s", streamBlock.GetString("name"));
     61    const char *pszName = streamBlock.GetString("name");
     62    if (pszName)
     63        mData.mName =  BstrFmt("%s", pszName);
    6264    mData.mType = GuestDirEntry::fileTypeToEntryType(streamBlock.GetString("ftype"));
    6365
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