Commit Graph
2 Commits
Author SHA1 Message Date
Michał Kowalczyk 727c2ab049 Fix typos 2020-04-02 01:46:48 +02:00
jack.wxz ad6b5210e5 [Pal/Linux-SGX] Fail with ENOEXEC if loading non-ELF file
Previously, there was no check that the file is non-ELF before trying to read
the ELF header. This led to segmentation faults while loading non-ELF files
(e.g., bash scripts). This commit adds an explicit check, as well as the
corresponding PAL regression test.
2019-11-19 18:59:34 -08:00