mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 22:32:51 +00:00
Bug 1799748 - Backport fix for libpixman CVE-2022-44638. r=jfkthame
Backport of upstream commit:
a1f88e842e
Differential Revision: https://phabricator.services.mozilla.com/D161624
This commit is contained in:
parent
9ae4091c21
commit
2bbf869c32
@ -74,7 +74,7 @@ pixman_sample_floor_y (pixman_fixed_t y,
|
||||
|
||||
if (f < Y_FRAC_FIRST (n))
|
||||
{
|
||||
if (pixman_fixed_to_int (i) == 0x8000)
|
||||
if (pixman_fixed_to_int (i) == 0xffff8000)
|
||||
{
|
||||
f = 0; /* saturate */
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user