VirtualBox

Changeset 6864 in vbox


Ignore:
Timestamp:
Feb 8, 2008 11:40:26 AM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28002
Message:

VBoxHDD-new: The size argument of RTDirRead must be initialized if not NULL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VBoxHDD-new.cpp

    r6735 r6864  
    746746
    747747        PRTDIRENTRY pPluginDirEntry = NULL;
    748         unsigned cbPluginDirEntry;
     748        unsigned cbPluginDirEntry = sizeof(RTDIRENTRY);
    749749        pPluginDirEntry = (PRTDIRENTRY)RTMemAllocZ(sizeof(RTDIRENTRY));
    750         if (!pPluginDir)
     750        if (!pPluginDirEntry)
    751751        {
    752752            rc = VERR_NO_MEMORY;
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