VirtualBox

Changeset 6237 in vbox


Ignore:
Timestamp:
Jan 4, 2008 9:31:47 AM (17 years ago)
Author:
vboxsync
Message:

Guest Additions (Linux): fixed potentially uninitialised variable in shared clipboard

File:
1 edited

Legend:

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

    r6202 r6237  
    256256       the host will tell us what size of buffer we need, and we will try again with a buffer of
    257257       that size. */
    258     uint32_t cb = 1024, u32Size;
     258    uint32_t cb = 1024, u32Size = 0;
    259259    void *pv = RTMemAlloc(cb);
    260260    if (pv == 0)
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