From 1b9366c1beab98f2d2d4b41c917829f7374e8711 Mon Sep 17 00:00:00 2001 From: asraa Date: Mon, 12 Apr 2021 13:19:54 -0400 Subject: [PATCH] [CIFuzz] fix bug (#5602) Signed-off-by: Asra Ali --- infra/cifuzz/fuzz_target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infra/cifuzz/fuzz_target.py b/infra/cifuzz/fuzz_target.py index e582eadfd..dcae75e9e 100644 --- a/infra/cifuzz/fuzz_target.py +++ b/infra/cifuzz/fuzz_target.py @@ -142,10 +142,10 @@ class FuzzTarget: return FuzzResult(None, None) utils.binary_print(b'Fuzzer: %s. Detected bug:\n%s' % - (self.target_name.encode(), stderr)) + (self.target_name.encode(), result.stderr)) if self.is_crash_reportable(testcase): # We found a bug in the fuzz target and we will report it. - return FuzzResult(testcase, stderr) + return FuzzResult(testcase, result.stderr) # We found a bug but we won't report it. return FuzzResult(None, None)