On Tue, 13 Feb 2024 at 14:57, F. E. <exler7...@gmail.com> wrote:

> today I had some time for testing whether reducing the try-catch clauses
> solves the stack overflow, and it does:
>

Hello, I finally had the time to look at the issue in 1.0.0-dev and I came
up with a similar fix:
https://github.com/podofo/podofo/commit/31e0139113f5860cc35d59bbe5c2844a1a37ec6c


> Minor side-note:
> Why does the PdfTokenizer::RecursionGuard throw a "ePdfError_InvalidXRef"
> error when the rmax recursion depth is reached?
> It would make more sense to throw a special "MaxRecursionReached" error
> here.
>

Your suggestion makes a lot of sense. I will have it in time for 1.0.0.

Cheers,
Francesco
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to