[Webkit-unassigned] [Bug 113962] New: GtkSelectionData length is off by one
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 4 14:42:47 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=113962
Summary: GtkSelectionData length is off by one
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Linux
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Gtk
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: dwnarvaez at gmail.com
If you drag a link from webkit to another gtk widget, which supports text/uri-list, the GtkSelectionData passed to the drag-data-received event will have the wrong length. In fact it will include the NULL termination.
It looks like the issue might be here
https://trac.webkit.org/browser/trunk/Source/WebCore/platform/gtk/PasteboardHelper.cpp#L175
The + 1 there seems wrong to me. Similar issue with TargetTypeMarkup.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list