about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-02-27 18:14:50 +0100
committervanhauser-thc <vh@thc.org>2021-02-27 18:14:58 +0100
commit79f1a44a01775ab28ad39f21f09e084fcd773c98 (patch)
treeb8090432619a94c01623841feee4cfd382c6b453 /src
parentc2127e3ff7c324e44ac6b84d55c3bb8382427436 (diff)
downloadafl++-79f1a44a01775ab28ad39f21f09e084fcd773c98.tar.gz
fix qasan search path
Diffstat (limited to 'src')
-rw-r--r--src/afl-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/afl-common.c b/src/afl-common.c
index 078ffb9d..c341bb97 100644
--- a/src/afl-common.c
+++ b/src/afl-common.c
@@ -372,11 +372,11 @@ u8 *get_libqasan_path(u8 *own_loc) {
 
   }
 
-  if (!access(BIN_PATH "/libqasan.so", X_OK)) {
+  if (!access(AFL_PATH "/libqasan.so", X_OK)) {
 
     if (cp) { ck_free(cp); }
 
-    return ck_strdup(BIN_PATH "/libqasan.so");
+    return ck_strdup(AFL_PATH "/libqasan.so");
 
   }