Hello!
Find attached two patches, which each fix a use-after-free bug.
I've also attached a crashing html document for each, but please be
aware that these reproducer documents link urls from external web
servers.
The reproducers crash reliably on my x86_64 Void Linux laptop, but
I've not tested them elsewhere. I've also attached a crash log with
asan reporting of each.
Thank you
-Magnus L
p.s. I've also opened github PR 449 with these same changes, but
figured I should send the patches via email as well-- if only for
practice :)