summaryrefslogtreecommitdiff
path: root/pdf/pdf_annot.c
diff options
context:
space:
mode:
authorKen Sharp <ken.sharp@artifex.com>2023-02-02 09:13:29 +0000
committerKen Sharp <ken.sharp@artifex.com>2023-02-04 11:17:23 +0000
commit3820c64854530c46b8cb3db17f539baa1d3ee8cb (patch)
tree529696049d047aa09c3f9291f0659a718ecb80ca /pdf/pdf_annot.c
parent401fc37d34b1cc31e4b014b8d5b848f2a8af1137 (diff)
downloadghostpdl-3820c64854530c46b8cb3db17f539baa1d3ee8cb.tar.gz
GhostPDF - don't free a buffer on error, it has been freed
OSS-fuzz #55443 with eps2write The font has been corrupted and throws an error, which frees the buffer we created and passed in. But we then try and free the buffer again leading to a crash (on Windows at least). Update the comment to note that ownership is transferred regardless of success, and remove the code freeing the buffer.
Diffstat (limited to 'pdf/pdf_annot.c')
0 files changed, 0 insertions, 0 deletions