VirtualBox

Changeset 35158 in vbox


Ignore:
Timestamp:
Dec 15, 2010 5:15:21 PM (14 years ago)
Author:
vboxsync
Message:

ExtPackUtils.cpp: Fixed uninitialized variable when validating license files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ExtPackUtil.cpp

    r34967 r35158  
    11371137            if (RT_SUCCESS(rc))
    11381138            {
    1139                 PRTVFSFILE phVfsFile;
     1139                PRTVFSFILE phVfsFile = NULL;
    11401140                if (!strcmp(pszAdjName, VBOX_EXTPACK_DESCRIPTION_NAME))
    11411141                    phVfsFile = &hXmlFile;
     
    11461146                else if (!strncmp(pszAdjName, VBOX_EXTPACK_LICENSE_NAME_PREFIX, sizeof(VBOX_EXTPACK_LICENSE_NAME_PREFIX) - 1))
    11471147                    rc = VBoxExtPackValidateStandardFile(pszAdjName, enmType, &hVfsObj, NULL, pszError, cbError);
    1148                 else
    1149                     phVfsFile = NULL;
    11501148                if (phVfsFile)
    11511149                    rc = VBoxExtPackValidateStandardFile(pszAdjName, enmType, &hVfsObj, phVfsFile, pszError, cbError);
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