- Timestamp:
- Jun 7, 2020 7:11:56 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/clipboard-x11.cpp
r82922 r84717 129 129 /** @todo Add Wayland / Weston support. */ 130 130 #endif 131 { "LAST", SHCLX11FMT_INVALID, VBOX_SHCL_FMT_NONE }, 131 /** @todo r=aeichner The "LAST" in there was causing tstClipboardGH-X11.cpp:XInternAtom to crash because it was reading out side of the array. */ 132 { NULL, SHCLX11FMT_INVALID, VBOX_SHCL_FMT_NONE }, 132 133 }; 133 134 … … 728 729 for (i = 0; i < *pcLen; ++i) 729 730 { 730 for (j = 0; j < RT_ELEMENTS(g_aFormats) ; ++j)731 for (j = 0; j < RT_ELEMENTS(g_aFormats) - 1; ++j) /** @todo r=aeichner Don't include the last invalid format. */ 731 732 { 732 733 Atom target = XInternAtom(XtDisplay(widget),
Note:
See TracChangeset
for help on using the changeset viewer.