VirtualBox

Changeset 13557

Show
Ignore:
Timestamp:
10/24/08 16:22:17 (3 months ago)
Author:
vboxsync
Message:

Guest Properties (Main, HostServices?, VBoxGuestLib): MAX_*_LEN is the size in bytes, not the string length

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r13551 r13557  
    9696                       + sizeof(flagNames[1]) + 2 
    9797                       + sizeof(flagNames[2]) + 2 
    98                        + sizeof(flagNames[3]) 
     98                       + sizeof(flagNames[3]) + 1  /* + 1 for '\0' */ 
    9999     }; 
    100100 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy