Apply security patch to PdfHandler