[Webkit-unassigned] [Bug 83797] New: [EFL] [DRT] Feeding key events with invalid keyName
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 12 11:13:31 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=83797
Summary: [EFL] [DRT] Feeding key events with invalid keyName
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit EFL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: naginenis at gmail.com
CC: demarchi at webkit.org, gyuyoung.kim at webkit.org
keyName passed to KeyEventInfo is not valid after this function returns, so use CString to keep the keyName valid within the scope of KeyEventInfo.
static KeyEventInfo* createKeyEventInfo(JSContextRef context, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception)
{
....
const CString cCharacter = character.get()->ustring().utf8();
....
if (!keyName)
keyName = cCharacter.data();
return new KeyEventInfo(keyName, modifiers);
}
--
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