[Webkit-unassigned] [Bug 145005] New: -Warray-subscript in CSSParser.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 14 09:24:09 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145005
Bug ID: 145005
Summary: -Warray-subscript in CSSParser.cpp
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
GCC 5.1.1 thinks this is a buffer overflow:
[1987/5675] Building CXX object Source...eFiles/WebCore.dir/css/CSSParser.cpp.o
../../Source/WebCore/css/CSSParser.cpp: In member function âbool WebCore::CSSParser::parseShorthand(WebCore::CSSPropertyID, const WebCore::StylePropertyShorthand&, bool)â:
../../Source/WebCore/css/CSSParser.cpp:3853:41: warning: array subscript is above array bounds [-Warray-bounds]
if (!propertyFound[propIndex] && parseValue(shorthand.properties()[propIndex], important)) {
^
../../Source/WebCore/css/CSSParser.cpp:3854:44: warning: array subscript is above array bounds [-Warray-bounds]
propertyFound[propIndex] = found = true;
^
--
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/2c8d9fa2/attachment.html>
More information about the webkit-unassigned
mailing list