Align handling of invalid files between analyse_macho and analyse_elf
modified libpkg/binfmt_macho.c
@@ -61,8 +61,14 @@ read_fully(const int fd, const size_t len, void *dest)
|
|
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
| + | |
| + | |
| + | |
|
|
|
|
|
modified libpkg/pkg_abi_macho.c
@@ -455,12 +455,14 @@ pkg_analyse_macho(const bool developer_mode, struct pkg *pkg, const char *fpath)
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|