[Webkit-unassigned] [Bug 145004] New: -Warray-subscript warning in JSGlobalObjectFunctions.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 14 09:24:05 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145004
Bug ID: 145004
Summary: -Warray-subscript warning in
JSGlobalObjectFunctions.cpp
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
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]);
^
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150514/4cabca12/attachment.html>
More information about the webkit-unassigned
mailing list