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

New commits:
commit e47f1192feacf6f1bf34e0c3a1303e034a0de7dc
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Jan 3 11:12:22 2026 +0000
Commit:     Caolán McNamara <[email protected]>
CommitDate: Sat Jan 3 15:55:47 2026 +0100

    ofz#473050752 Integer-overflow
    
    Change-Id: I1b6ea0fcd434e91e63ce84ccbc46bc96f713216c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196444
    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 e697789f35f8..5e4bc581549d 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -316,6 +316,9 @@ MetaEllipseAction::MetaEllipseAction( const 
tools::Rectangle& rRect ) :
 
 void MetaEllipseAction::Execute( OutputDevice* pOut )
 {
+    if (!AllowRect(pOut->LogicToPixel(maRect)))
+        return;
+
     pOut->DrawEllipse( maRect );
 }
 

Reply via email to