[Webkit-unassigned] [Bug 50050] [Qt] plugins/keyboard-events.html fails after r72717
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 16 11:17:32 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=50050
Andreas Kling <kling at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #79103|review? |review-
Flag| |
--- Comment #4 from Andreas Kling <kling at webkit.org> 2011-01-16 11:17:32 PST ---
(From update of attachment 79103)
View in context: https://bugs.webkit.org/attachment.cgi?id=79103&action=review
> Source/WebCore/plugins/qt/PluginViewQt.cpp:427
> + const char* chr = qKeyEvent->text().left(1).toUtf8().constData();
> + xEvent->xkey.keycode = XKeysymToKeycode(QX11Info::display(), XStringToKeysym(chr));
'chr' points to deleted data on the second line since the QByteArray returned by toUtf8() is temporary.
--
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