diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2023-02-02 09:13:29 +0000 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2023-02-04 11:17:23 +0000 |
commit | 3820c64854530c46b8cb3db17f539baa1d3ee8cb (patch) | |
tree | 529696049d047aa09c3f9291f0659a718ecb80ca /pdf/pdf_annot.c | |
parent | 401fc37d34b1cc31e4b014b8d5b848f2a8af1137 (diff) | |
download | ghostpdl-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