VirtualBox

Changeset 30172 in vbox for trunk


Ignore:
Timestamp:
Jun 13, 2010 11:18:26 AM (15 years ago)
Author:
vboxsync
Message:

VBoxHDD: VDCFGQueryBytesAlloc, exclude the terminator of the queried string because it is not part of the data. Fixes authentication against IET iSCSI targets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxHDD.h

    r29649 r30172  
    984984            {
    985985                *ppvData = pvData;
    986                 *pcbData = cb;
     986                *pcbData = cb - 1; /* Exclude terminator of the queried string. */
    987987            }
    988988            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