Currently the library does a lot of memory allocation without testing for an out of memory condition.
I did modify the code for the images-related routines because I use only that part in my code (I made a purepdf "light" of some kind actually, thanks to the source availability), so it would be probably useless to post a "patch" this time in this thread because all the library in reality would require such a treatment.
Basically, I added some
Code: Select all
pdfError = 99
pdfErrorMessage$ = "Out of memory."
vReturn = #False
What do you think ?
Bye and thank you.