diff options
| author | Michael Brown | 2025-04-29 17:28:03 +0200 |
|---|---|---|
| committer | Michael Brown | 2025-04-29 17:32:01 +0200 |
| commit | a69c42dd9fa97024f572b431f6527d359568c23e (patch) | |
| tree | 3740d6332757a52a60fed030452ad6c97a2723bb /src/interface/linux | |
| parent | [bofm] Remove userptr_t from BOFM table parsing and updating (diff) | |
| download | ipxe-a69c42dd9fa97024f572b431f6527d359568c23e.tar.gz ipxe-a69c42dd9fa97024f572b431f6527d359568c23e.tar.xz ipxe-a69c42dd9fa97024f572b431f6527d359568c23e.zip | |
[image] Clear recorded replacement image immediately after consuming
If an embedded script uses "chain --replace", the embedded image will
retain a reference to the replacement image in perpetuity.
Fix by clearing any recorded replacement image immediately in
image_exec(), instead of relying upon image_free() to drop the
reference.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux')
0 files changed, 0 insertions, 0 deletions
