]> granicus.if.org Git - gc/commit
Check DATASTART is less than DATAEND even assertions off
authorIvan Maidanski <ivmai@mail.ru>
Mon, 26 Oct 2015 05:25:54 +0000 (08:25 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 26 Oct 2015 05:25:54 +0000 (08:25 +0300)
commit7a1f75f30855ee1984463d085d3c90e6b2c05940
treed287012cf19c5b2a6714c5fb943b1acda5057818
parent0a37e6034137c7d5a4472b657739a1659fb20ee3
Check DATASTART is less than DATAEND even assertions off

* dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr):
Abort with the appropriate message if DATASTART is NULL or greater than
DATAEND (same for DATASTART2 and DATAEND2).
* os_dep.c (GC_init_linux_data_start, GC_register_data_segments):
Likewise.
* os_dep.c (GC_init_linux_data_start, GC_register_data_segments):
Remove assertion about DATASTART and DATAEND.
* os_dep.c (GC_init_linux_data_start): Code refactoring.
dyn_load.c
os_dep.c