[syslinux] [PATCH 2/2] core: Fix stack overflow when reloading config

H. Peter Anvin hpa at zytor.com
Mon Jan 25 12:03:15 PST 2016


On 01/25/16 10:51, Celelibi wrote:
> 
> Do you suggest to do this only for ldlinux.c32?
> 
> If we keep a copy only of the data section, we will only be able to
> use it when we know we reload the module. So it will only apply to
> ldlinux.c32. While most modules could benefit from this as the new
> config file will probably reload the same menu and libraries.
> 

Libraries shouldn't need it; they can simply stay in memory.  For
executables one could do such initialization before invoking the entry
point.

	-hpa




More information about the Syslinux mailing list