vcl/source/gdi/metaact.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c3358c780f0b90479b61bb42afd90a8dafdd7224
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Dec 27 16:51:48 2025 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sat Dec 27 20:30:21 2025 +0100

    ofz#471764989 Integer-overflow
    
    Change-Id: Ie50466c25206285125aea92fa32d2d00d24f33d1
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196250
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <[email protected]>

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index cd45abf76cb0..a4ccdb5fc266 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -283,6 +283,9 @@ MetaRoundRectAction::MetaRoundRectAction( const 
tools::Rectangle& rRect,
 
 void MetaRoundRectAction::Execute( OutputDevice* pOut )
 {
+    if (!AllowRect(pOut->LogicToPixel(maRect)))
+        return;
+
     pOut->DrawRect( maRect, mnHorzRound, mnVertRound );
 }
 

Reply via email to