crash when removing annotation of page
Submitted by Jannick
Assigned to poppler-bugs
Link to original bug (#101795)
Description
Created attachment 132697 call procs of annot class only when object not destroyed by Page::removeAnnot
Page::removeAnnot (https://cgit.freedesktop.org/poppler/poppler/tree/poppler/Page.cc#n465) crashes after annot is removed AND destroyed. Suggested patch tries to amend that.
I am not sure if this raises other issues I must admit, since I am very much a newbie to poppler.
Patch 132697, "call procs of annot class only when object not destroyed by Page::removeAnnot":
poppler-0.56.0_2017-07-15__9.59.41.patch