[embed] Add missing register_image() to image/embedded.c
authorMichael Brown <mcb30@etherboot.org>
Tue, 3 Jun 2008 23:02:23 +0000 (00:02 +0100)
committerMichael Brown <mcb30@etherboot.org>
Tue, 3 Jun 2008 23:02:23 +0000 (00:02 +0100)
commitd615b00443e9265f87f6a08e84c28eb5dcee6f49
treead76c6eeda20e136e1e6c0e992abffcbf1c344a0
parent75965c9c6e9eca6d790710351f054689f4578a85
[embed] Add missing register_image() to image/embedded.c

When the embedded image is a script, the unregister_image() performed by
image/script.c corrupts memory, since image/embedded.c omitted the call
to register_image().

This is the first bug fixed using Stefan Hajnoczi's gdb stub for gPXE.
src/image/embedded.c