VirtualBox

Changeset 52355 in vbox


Ignore:
Timestamp:
Aug 11, 2014 7:21:58 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95484
Message:

SUPR3HardenedVerify.cpp: Corrected CreateFileW result check (NULL vs INVALID_HANDLE_VALUE).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp

    r52163 r52355  
    518518                                       FILE_ATTRIBUTE_NORMAL,
    519519                                       NULL);
    520             if (hFile)
     520            if (hFile != INVALID_HANDLE_VALUE)
    521521            {
    522522                *phFile = (intptr_t)hFile;
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