[Webkit-unassigned] [Bug 145006] New: -Warray-subscript in RenderTableCell.cpp
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 14 09:24:18 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=145006
Bug ID: 145006
Summary: -Warray-subscript in RenderTableCell.cpp
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at igalia.com
GCC 5.1.1 thinks this is a buffer overflow:
[3031/5675] Building CXX object Source...re.dir/rendering/RenderTableCell.cpp.o
../../Source/WebCore/rendering/RenderTableCell.cpp: In member function âvoid WebCore::RenderTableCell::paintCollapsedBorders(WebCore::PaintInfo&, const WebCore::LayoutPoint&)â:
../../Source/WebCore/rendering/RenderTableCell.cpp:1139:28: warning: array subscript is above array bounds [-Warray-bounds]
if (m_borders[i].borderValue.exists() && m_borders[i].shouldPaint) {
^
../../Source/WebCore/rendering/RenderTableCell.cpp:1139:65: warning: array subscript is above array bounds [-Warray-bounds]
if (m_borders[i].borderValue.exists() && m_borders[i].shouldPaint) {
^
--
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/fc711ed8/attachment.html>
More information about the webkit-unassigned
mailing list