VirtualBox

Changeset 19221 in vbox


Ignore:
Timestamp:
Apr 27, 2009 4:00:24 PM (16 years ago)
Author:
vboxsync
Message:

SharedClipboard/x11: fix a potential crash if a zero-length compound text string is read, missing return

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r19220 r19221  
    395395        XtFree(reinterpret_cast<char *>(pValue));
    396396        vboxClipboardSendData(VBOX_SHARED_CLIPBOARD_FMT_UNICODETEXT,
    397                               NULL, 0);       
     397                              NULL, 0);
     398        return;
    398399    }
    399400    /* First convert the compound text to Utf8 */
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