vectx_close() always frees the context it is handed, but both
file_loadraw() and the i386 chain command would free(vctx) again when
it reported a verification failure.
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential D61839
loader: fix double free of vectx on verification failure Authored by kevans on Fri, Nov 20, 7:43 PM. Project Tags None Referenced Files
Details
Diff Detail
|