Skip to content

Commit

Permalink
2.47b
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-huet committed Jul 29, 2017
1 parent 1842561 commit 108f653
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
6 changes: 3 additions & 3 deletions afl-tmin.c
Original file line number Diff line number Diff line change
Expand Up @@ -670,15 +670,15 @@ static void set_up_environment(void) {

u8* use_dir = ".";

if (!access(use_dir, R_OK | W_OK | X_OK)) {
if (access(use_dir, R_OK | W_OK | X_OK)) {

use_dir = getenv("TMPDIR");
if (!use_dir) use_dir = "/tmp";

prog_in = alloc_printf("%s/.afl-tmin-temp-%u", use_dir, getpid());

}

prog_in = alloc_printf("%s/.afl-tmin-temp-%u", use_dir, getpid());

}

/* Set sane defaults... */
Expand Down
2 changes: 1 addition & 1 deletion config.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/* Version string: */

#define VERSION "2.46b"
#define VERSION "2.47b"

/******************************************************
* *
Expand Down
6 changes: 6 additions & 0 deletions docs/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ Not sure if you should upgrade? The lowest currently recommended version
is 2.41b. If you're stuck on an earlier release, it's strongly advisable
to get on with the times.

--------------
Version 2.47b:
--------------

- Fixed cwd handling in afl-tmin. Spotted by Jakub Wilk.

--------------
Version 2.46b:
--------------
Expand Down

0 comments on commit 108f653

Please sign in to comment.