diff options
author | David Carlier <devnexen@gmail.com> | 2020-04-07 20:05:57 +0100 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2020-04-09 10:23:37 +0200 |
commit | bd9676aa04c011d98988aa6a95d0d4d5b061ac4a (patch) | |
tree | 6c3e5e1f104587536dcb2c6e4728e81f1c05b5af /src/afl-fuzz-extras.c | |
parent | e5d0a9ecdfcff210ac23947d53b0c13baae7e397 (diff) | |
download | afl++-bd9676aa04c011d98988aa6a95d0d4d5b061ac4a.tar.gz |
Android build fix proposal.
LTO flag is recognised but however broken on Android (tested with armv7 arch). Thus giving the choice not to enable it. In fortify mode, open required O_CREAT or O_TMPFILE when mode is set.
Diffstat (limited to 'src/afl-fuzz-extras.c')
-rw-r--r-- | src/afl-fuzz-extras.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-extras.c b/src/afl-fuzz-extras.c index 4dd1647c..16806934 100644 --- a/src/afl-fuzz-extras.c +++ b/src/afl-fuzz-extras.c @@ -451,7 +451,7 @@ void load_auto(afl_state_t *afl) { u8 *fn = alloc_printf("%s/.state/auto_extras/auto_%06u", afl->in_dir, i); s32 fd, len; - fd = open(fn, O_RDONLY, 0600); + fd = open(fn, O_RDONLY); if (fd < 0) { |