[Webkit-unassigned] [Bug 87183] New: Web Inspector: CodeGeneratorInspector.py: protect typed API from C++ implicit float to int cast
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 22 17:01:56 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=87183
Summary: Web Inspector: CodeGeneratorInspector.py: protect
typed API from C++ implicit float to int cast
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: prybin at chromium.org
CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
pmuellr at yahoo.com, joepeck at webkit.org,
pfeldman at chromium.org, yurys at chromium.org,
bweinstein at apple.com, apavlov at chromium.org,
loislo at chromium.org
C++ implicit cast from float or double to int creates a breach in inspector typed API.
For example one can mistakenly have protocol attribute type "int" while actual value type in C++ is "float". The value will be silently truncated to integer without a warning.
Make sure that passing float or double to inspector typed API won't compile.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list