[Webkit-unassigned] [Bug 176357] New: Missing break in URLParser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 5 03:01:21 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=176357
Bug ID: 176357
Summary: Missing break in URLParser
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
Assignee: webkit-unassigned at lists.webkit.org
Reporter: tpopela at redhat.com
Found by Coverity scan:
1. webkitgtk-2.16.6/Source/WebCore/platform/URLParser.cpp:1233: value_overwrite: Overwriting previous write to "state" with value "void WebCore::URLParser::parse(unsigned short const *, unsigned int, WebCore::URL const &, WebCore::TextEncoding const &)::State::Scheme (instance 69995)".
2. webkitgtk-2.16.6/Source/WebCore/platform/URLParser.cpp:1230: assigned_value: Assigning value "void WebCore::URLParser::parse(unsigned short const *, unsigned int, WebCore::URL const &, WebCore::TextEncoding const &)::State::NoScheme (instance 69996)" to "state" here, but that stored value is overwritten before it can be used.
# 1228| if (c.atEnd()) {
# 1229| m_asciiBuffer.clear();
# 1230|-> state = State::NoScheme;
# 1231| c = beginAfterControlAndSpace;
# 1232| }
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170905/276838a4/attachment-0001.html>
More information about the webkit-unassigned
mailing list