summaryrefslogtreecommitdiff
path: root/mtools/Makefile
diff options
context:
space:
mode:
authorSylvain Gault <sylvain.gault@gmail.com>2015-10-13 05:26:30 +0200
committerSylvain Gault <sylvain.gault@gmail.com>2015-10-13 05:44:33 +0200
commit19d0d592ee115e8772b7dc6d5594748a49b63b0c (patch)
tree94b225ea932739e3261888515905d90d5301cfbb /mtools/Makefile
parent7bb4e1335435397243c9b63a64a5c61c82691357 (diff)
downloadsyslinux-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 'mtools/Makefile')
0 files changed, 0 insertions, 0 deletions