[poppler] poppler/Gfx.cc

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Mon Jul 3 14:41:40 UTC 2023


 poppler/Gfx.cc |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit c40bec5715075c12e7158639c638baa95bfcf2e8
Author: Anton Thomasson <antonthomasson at gmail.com>
Date:   Mon Jun 19 22:04:38 2023 +0200

    Don't abort command when restore runs in to a state guard
    
    Fixes #1395

diff --git a/poppler/Gfx.cc b/poppler/Gfx.cc
index 63e6c963..15568ec0 100644
--- a/poppler/Gfx.cc
+++ b/poppler/Gfx.cc
@@ -5368,7 +5368,6 @@ void Gfx::restoreState()
 {
     if (stackHeight <= bottomGuard() || !state->hasSaves()) {
         error(errSyntaxError, -1, "Restoring state when no valid states to pop");
-        commandAborted = true;
         return;
     }
     state = state->restore();


More information about the poppler mailing list