[wpt-sync] Sync PR 35508 - FrameSet: Fix an integer overflow
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox106 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 35508 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/35508
Details from upstream follow.
Kent Tamura <tkent@chromium.org> wrote:
FrameSet: Fix an integer overflow
crrev.com/1035755 introduced an integer overflow:
(int * int) / int64_t
The type of the multiplication result is |int|, and can overflow.This CL changes it like:
ClampTo\<int>((int * int64_t) / int64_t)Bug: 1353277
Change-Id: Ib59d1a16762e139bf882a8619e344914339d535d
Reviewed-on: https://chromium-review.googlesource.com/3836624
WPT-Export-Revision: 6b6871017fc269181b5db2d859a5018f4f04ca49
| Assignee | ||
Comment 1•3 years ago
|
||
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 2•3 years ago
|
||
| Assignee | ||
Comment 3•3 years ago
|
||
| Assignee | ||
Comment 4•3 years ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
FAIL: 2
Chrome
OK : 2
FAIL: 2
Safari
OK : 2
FAIL: 2
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /html/rendering/non-replaced-elements/the-frameset-and-frame-elements/large-cols-relsize.html [wpt.fyi]
- A large relative value should not produce weird sizes.:
FAIL(Chrome:FAIL, Safari:FAIL)
- A large relative value should not produce weird sizes.:
- /html/rendering/non-replaced-elements/the-frameset-and-frame-elements/large-rows-relsize.html [wpt.fyi]
- A large relative value should not produce weird sizes.:
FAIL(Chrome:FAIL, Safari:FAIL)
- A large relative value should not produce weird sizes.:
Comment 6•3 years ago
|
||
| bugherder | ||
Description
•