From 6d67dff65698439c110689efb4514b39292a9b1a Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Mon, 17 Apr 2017 18:08:27 +0200 Subject: [PATCH] oss-fuzzshark: disable setresgid(), it fails with -EINVAL Change-Id: I28abb1d0beb89ce45e20414298b2046f5149a25b Reviewed-on: https://code.wireshark.org/review/21166 Reviewed-by: Jakub Zawadzki Petri-Dish: Jakub Zawadzki --- tools/oss-fuzzshark.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/oss-fuzzshark.c b/tools/oss-fuzzshark.c index 11adf5681e..f4fab346e5 100644 --- a/tools/oss-fuzzshark.c +++ b/tools/oss-fuzzshark.c @@ -151,7 +151,9 @@ fuzz_init(int argc _U_, char **argv) * Let the user know if anything happened. */ init_process_policies(); +#if 0 /* disable setresgid(), it fails with -EINVAL https://github.com/google/oss-fuzz/pull/532#issuecomment-294515463 */ relinquish_special_privs_perm(); +#endif /* * Attempt to get the pathname of the executable file.