diff options
author | Chris Liddell <chris.liddell@artifex.com> | 2023-02-09 14:52:13 +0000 |
---|---|---|
committer | Chris Liddell <chris.liddell@artifex.com> | 2023-02-10 12:04:39 +0000 |
commit | e8da62c6ab890c6a27762f9285441afc6920e558 (patch) | |
tree | 5f150fd0d16bf7782b49dc9d05a6085baa0fed13 /freetype/src/cff/cff.c | |
parent | 936d966618c81fa125604fe76932f1d4f33df8e3 (diff) | |
download | ghostpdl-e8da62c6ab890c6a27762f9285441afc6920e558.tar.gz |
oss-fuzz 55443: Dangling reference in extreme out-of-memory condition
If we've exhausted memory to the extent that we cannot even run the Postscript
error handler properly, we can end up with references to the arrays that
contain the record of the stacks' content in $error lasting until the final
garbage collection, with the arrays themselves having been freed by the
end-of-job restore.
So explicitly remove those references and clear the operand stack before we
tackle the final stages of shutting down.
Diffstat (limited to 'freetype/src/cff/cff.c')
0 files changed, 0 insertions, 0 deletions