aboutsummaryrefslogtreecommitdiffstats
path: root/tools/oss-fuzzshark
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-05-05 00:19:09 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-05 08:06:35 +0000
commit15cfc41e9441c648caf10483520ba3503f2824a0 (patch)
tree628cd951778ef56703662cb629e0a9efe25e7dbd /tools/oss-fuzzshark
parent41445d0e97ef37786ec7443141641a78fcfd6b8f (diff)
Don't use dladdr() to get a pathname for the current executable().
Change-Id: I24ad11a659c2cb936f873339dc2b36ac9944280a Reviewed-on: https://code.wireshark.org/review/27359 Petri-Dish: Guy Harris <guy@alum.mit.edu> Tested-by: Petri Dish Buildbot Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'tools/oss-fuzzshark')
-rw-r--r--tools/oss-fuzzshark/fuzzshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/oss-fuzzshark/fuzzshark.c b/tools/oss-fuzzshark/fuzzshark.c
index e8c8224821..8412b49f29 100644
--- a/tools/oss-fuzzshark/fuzzshark.c
+++ b/tools/oss-fuzzshark/fuzzshark.c
@@ -234,7 +234,7 @@ fuzz_init(int argc _U_, char **argv)
/*
* Attempt to get the pathname of the executable file.
*/
- init_progfile_dir_error = init_progfile_dir(argv[0], fuzz_init);
+ init_progfile_dir_error = init_progfile_dir(argv[0]);
if (init_progfile_dir_error != NULL)
fprintf(stderr, "fuzzshark: Can't get pathname of oss-fuzzshark program: %s.\n", init_progfile_dir_error);