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

New commits:
commit 2732a2cf763323672ed9a04c81a02d20eb8f777d
Author:     Caolán McNamara <[email protected]>
AuthorDate: Sat Jan 3 11:12:22 2026 +0000
Commit:     Xisco Fauli <[email protected]>
CommitDate: Thu Jan 8 17:06:23 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]>
    (cherry picked from commit e47f1192feacf6f1bf34e0c3a1303e034a0de7dc)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196560
    Reviewed-by: Xisco Fauli <[email protected]>

diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx
index d5cee4f5f302..e726410cd269 100644
--- a/vcl/source/gdi/metaact.cxx
+++ b/vcl/source/gdi/metaact.cxx
@@ -315,6 +315,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