Document.Save() triggering an infinite loop of pages

I am continuously facing an issue while using Aspose.PDF library for .NET, there seems to be a bug that causes an infinite loop on generating pages and crashes the server.

Download the console application from the link given below, this can be used to reproduce the issue
https://drive.google.com/file/d/1kamri03UI6dvIAxqRVmpKMbXxe5vkPAN/view?usp=sharing

@10pearls,

Thanks for contacting support.

We have tested this scenario in our environment and have been able to observe the issue that you have mentioned. We have logged issue with ID PDFNET-47466 in our issue tracking system. We will share with you as soon as logged issue is fixed.

The issues you have found earlier (filed as PDFNET-47466) have been fixed in Aspose.PDF for .NET 20.2.