[syslinux] efi config hang

Lukas Schwaighofer lukas at schwaighofer.name
Wed Dec 19 12:45:54 PST 2018

On Tue, 18 Dec 2018 00:31:28 +0000
Joakim Tjernlund <Joakim.Tjernlund at infinera.com> wrote:

> I suspect this part is wrong:
> -static jmp_buf load_error_buf;
> +static jmp_buf *load_error_buf;
> That will just define a ptr and using that directly in longjmp/setjmp
> is odd.
> Modifying longjmp/setjmp to.
> -longjmp(load_error_buf,1);
> +longjmp(&load_error_buf,1);
> makes much more sense to me.

I believe you're right, thanks for pointing that out.  I had used the
patches that had been posted on this list [1], apparently without
reviewing them closely enough.  I'll fix this for Debian shortly.


[1] https://www.syslinux.org/archives/2017-June/025820.html

More information about the Syslinux mailing list