VirtualBox

Changeset 18504 in vbox for trunk/src/VBox/Devices/Storage


Ignore:
Timestamp:
Mar 29, 2009 2:36:34 AM (16 years ago)
Author:
vboxsync
Message:

VHDHDDCore.cpp: On second thought, the code looks fine.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/VHDHDDCore.cpp

    r18503 r18504  
    278278            /* Update plain relative name. */
    279279            cb = (uint32_t)strlen(pszFilename);
    280             if (cb > cbMaxLen) /** @todo r=bird: shoudln't this be cb >= cbMaxLen, or rather strlen() + 1? I don't dare update this without testing. */
     280            if (cb > cbMaxLen)
    281281            {
    282282                rc = VERR_FILENAME_TOO_LONG;
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