Hi Sorry for the late reply. Got involved with some other tasks.
Thanks for the patch. The patch has resolved the issue I faced. However I can't give comments on possible memory issues in any other cases. But my strong belief is that the code is fine. Regards Ali -----Original Message----- From: zyx [mailto:z...@litepdf.cz] Sent: 29 June 2017 20:57 To: podofo-users@lists.sourceforge.net Subject: Re: [Podofo-users] Values In Names Tree On Thu, 2017-06-29 at 14:21 +0000, Jaseem Ali K T wrote: > However the podofo code which retrieves value from names tree assumes > the value to be always of reference type. I have faced problem because > of this while retrieving named destinations in a particular file. Hi, I do not have data for this, thus the attached patch is a blind try, untested and can cause memory issues in certain cases (ideally check for use-after-free issues, like with valgrind or similar tools). Could you give it a try, please? Bye, zyx -- http://www.litePDF.cz i...@litepdf.cz ::DISCLAIMER:: ---------------------------------------------------------------------------------------------------------------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects. ---------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Podofo-users mailing list Podofo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/podofo-users