WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
145004
-Warray-bounds warning in JSGlobalObjectFunctions.cpp
https://bugs.webkit.org/show_bug.cgi?id=145004
Summary
-Warray-bounds warning in JSGlobalObjectFunctions.cpp
Michael Catanzaro
Reported
2015-05-14 09:24:05 PDT
GCC 5.1.1 thinks this is a buffer overflow: [748/5675] Building CXX object Source/.../runtime/JSGlobalObjectFunctions.cpp.o ../../Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp: In function ‘JSC::JSValue JSC::decode(JSC::ExecState*, const char*, bool)’: ../../Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp:98:41: warning: array subscript is above array bounds [-Warray-bounds] sequence[i] = Lexer<CharType>::convertHex(q[1], q[2]); ^
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug