VirtualBox

Changeset 51963 in vbox


Ignore:
Timestamp:
Jul 10, 2014 10:01:02 AM (11 years ago)
Author:
vboxsync
Message:

Additions/freebsd/vboxvfs: SHFLSTRING init fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vfsops.c

    r48939 r51963  
    135135        return VERR_NO_MEMORY;
    136136
    137     pShFlShareName->u16Length = cbShFlShareName;
    138     pShFlShareName->u16Size   = cbShFlShareName + 1;
     137    pShFlShareName->u16Length = cbShare;
     138    pShFlShareName->u16Size   = cbShare + 1;
    139139    memcpy (pShFlShareName->String.utf8, pszShare, cbShare + 1);
    140140
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