Gary, On 06/22/16 17:33, Laszlo Ersek wrote: > On 06/22/16 17:24, Gerd Hoffmann wrote: >> On Mi, 2016-06-22 at 17:14 +0200, Laszlo Ersek wrote: >>> On 06/22/16 10:34, Michael Brown wrote: >>>> On 22/06/16 05:48, Laszlo Ersek wrote: >>>>> In other words, the memcpy() quoted at the top copies 32 bytes into a >>>>> 32-byte buffer, from a 20-byte buffer. It is the *source* buffer that is >>>>> overflowed. >>>>> >>>>> As a result, bytes 20..31 of MacAddress (inclusive) are filled with >>>>> garbage. >>>> >>>> Awesome debugging; thank you! I've pushed a fix at >>>> >>>> http://git.ipxe.org/ipxe.git/commitdiff/632e57f >>> >>> Thanks! >>> >>> Gerd, do you think you can rebuild the iPXE binaries bundled with QEMU >>> during the 2.7 soft/hard freeze <http://wiki.qemu.org/Planning/2.7>? >> >> I intend to update ipxe before softfreeze (and if it doesn't work out >> for some reason surely before hardfreeze), to pick up this fix and >> virtio 1.0 support. >> >> What is the state of this? IIRC there was some other issue beside this >> ipxe bugfix. > > Right, when you open the iPXE form, that triggers an ASSERT(). > >> Is this root-caused meanwhile? edk2 issue? ipxe issue? > > I'll try to look into that next. > >> Should I wait for more ipxe fixes or can I go ahead with the update? > > Assuming you can sneak an iPXE rebuild into the QEMU soft freeze, I > think it makes sense to wait a bit longer -- let's hope I can come up > with something sensible for that error too...
can you please retest with a fresh build of the current iPXE master (at 04186319181298083ef28695a8309028b26fe83c presently)? I can no longer reproduce the ASSERT -- the iPXE form can be entered just fine. I don't know what changed. o_O Michael committed an improved version of my patch, but I fail to see how that change could have been relevant for this... Michael's patch copies 6 bytes (rather than 20) into the target array, but I thought bytes in that source array past offset 5 were zeroed anyway. Anyway, if it looks all good to you as well, then I think we can call this solved, and Gerd could go ahead with the rebuild. Thanks! Laszlo _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel