mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
ELFLoader should fail with an error message for unresolved symbols.
This commit is contained in:
parent
ec1d16b307
commit
16f318408d
14 changed files with 80 additions and 24 deletions
|
@ -201,6 +201,7 @@ Task* Task::create(const String& path, uid_t uid, gid_t gid, pid_t parentPID)
|
|||
bool success = space.loadELF(move(elfData));
|
||||
if (!success) {
|
||||
delete t;
|
||||
kprintf("Failure loading ELF %s\n", path.characters());
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue