mirror of
https://github.com/RGBCube/serenity
synced 2026-01-16 07:51:01 +00:00
ELFLoader::layout() had a "failed" variable that was never set. This patch checks the return value of each hook (alloc/map section and tls) and fails the load if they return null. I also needed to patch Process so that the alloc_section_hook and map_section_hook actually return nullptr when allocating a region fails. Fixes #664 :) |
||
|---|---|---|
| .. | ||
| ELFImage.cpp | ||
| ELFImage.h | ||
| ELFLoader.cpp | ||
| ELFLoader.h | ||
| exec_elf.h | ||