VirtualBox

Changeset 28966 in vbox


Ignore:
Timestamp:
May 3, 2010 11:42:38 AM (15 years ago)
Author:
vboxsync
Message:

xpcom: added missing termination character to buffer size (rarely/never used code)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/xpcom/typelib/xpidl/xpidl_typelib.c

    r1 r28966  
    417417        annotation_len = strlen(annotation_format) + strlen(state->basename) +
    418418            strlen(timestr);
     419#ifdef VBOX
     420        annotation_len++; /* terminating '\0' */
     421#endif
    419422        for (i = 0; i < HEADER(state)->num_interfaces; i++) {
    420423            XPTInterfaceDirectoryEntry *ide;
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