diff options
author | Sylvain Gault <sylvain.gault@gmail.com> | 2015-10-13 05:26:30 +0200 |
---|---|---|
committer | Sylvain Gault <sylvain.gault@gmail.com> | 2015-10-13 05:44:33 +0200 |
commit | 19d0d592ee115e8772b7dc6d5594748a49b63b0c (patch) | |
tree | 94b225ea932739e3261888515905d90d5301cfbb /efi/tcp.c | |
parent | 7bb4e1335435397243c9b63a64a5c61c82691357 (diff) | |
download | syslinux-19d0d592ee115e8772b7dc6d5594748a49b63b0c.tar.gz |
core: Fix stack overflow when reloading config
The behavior when running a "CONFIG" command line is to reload
ldlinux.c32 with the new file as argument. This call never return.
In order to avoid stacking up the calls to start_ldlinux, this patch
introduce a setjmp/longjmp to return to the first call to start_ldlinux,
thus freeing all the stack space.
Signed-off-by: Sylvain Gault <sylvain.gault@gmail.com>
Diffstat (limited to 'efi/tcp.c')
0 files changed, 0 insertions, 0 deletions