VirtualBox

Changeset 67612 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jun 26, 2017 4:21:49 PM (7 years ago)
Author:
vboxsync
Message:

rtFsIso9660VolGetMaybeUtf16Be: Fix for fields with odd length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/fs/iso9660vfs.cpp

    r67595 r67612  
    20892089    size_t cFirstZeros  = 0;
    20902090    size_t cSecondZeros = 0;
    2091     for (size_t off = 0; off < cchField; off += 2)
     2091    for (size_t off = 0; off + 1 < cchField; off += 2)
    20922092    {
    20932093        cFirstZeros  += pachField[off]     == '\0';
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