diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-05-03 21:29:27 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2025-05-03 23:00:56 +0200 |
commit | bd1ce21e07fb085b7d1545a0c4ce7b606714642f (patch) | |
tree | 64efe014f5becbe4c258c61c48d7c0967712f583 | |
parent | 7346724e33105a0523cf38ba6287a19939596bc2 (diff) |
ofz#415088962 Integer-overflow
Change-Id: I6e41db206a9b2eaecb9fb791f05c7d01daa7f594
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/184936
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index b5f1eac47761..384817cc0804 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -1198,6 +1198,8 @@ MetaMaskAction::MetaMaskAction( const Point& rPt, void MetaMaskAction::Execute( OutputDevice* pOut ) { + if (!AllowPoint(pOut->LogicToPixel(maPt))) + return; pOut->DrawMask( maPt, maBmp, maColor ); } |