| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gerrit GetPureRevert API does not mark this CL as a pure revert. Learn more: go/rubber-stamper-user-guide.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Revert "[fuchsia][flatland] Validate image size and layout"
This reverts commit bfa06f769ad504b55f5a650c9b6f95cb7a2684e5.
Reason for revert: Broke hardware bots
Failure Link: https://ci.chromium.org/ui/p/chrome/builders/ci/fuchsia-fyi-sherlock/33175/overview
Original change's description:
> [fuchsia][flatland] Validate image size and layout
>
> Validate gfx::Size and format in Initialize, CreateNativePixmap, and
> CreateVkImage to prevent buffer overflows.
>
> - Unify size validation and layout calculation in the
> CalculateBufferLayout helper using checked math.
> - Verify that the computed image layout fits within the allocated buffer
> size.
> - Keep layout boundary checks and early size/format checks as graceful
> failures (returning nullptr or false) to prevent DoS from untrusted
> inputs.
> - Convert Vulkan memory requirements checks to CHECKs (crash on
> unexpected system values).
>
> TAG=agy
> CONV=c64f46f9-7333-4bcf-8497-788ae27b1ce7
>
> Bug: 500576940
> Change-Id: I5a89a49b8be9a165d3da9b78c2cf1d56a6b697eb
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8007838
> Auto-Submit: David Song <winter...@google.com>
> Commit-Queue: David Song <winter...@google.com>
> Reviewed-by: Zijie He <zij...@google.com>
> Cr-Commit-Position: refs/heads/main@{#1664843}
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |