From e1c6e7d18b446b55634bb4807c6d1a9e9346bd6c Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 13 Dec 2019 12:08:47 +1300 Subject: decode_ndr_X_crash: always find pipe in honggfuzz file Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- lib/fuzzing/decode_ndr_X_crash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/fuzzing') diff --git a/lib/fuzzing/decode_ndr_X_crash b/lib/fuzzing/decode_ndr_X_crash index 8ca5922449f..63c3cd747d7 100755 --- a/lib/fuzzing/decode_ndr_X_crash +++ b/lib/fuzzing/decode_ndr_X_crash @@ -115,7 +115,7 @@ def main(): for line in f: m = re.match(r'^\s*fuzzTarget\s*:\s*bin/fuzz_ndr_(\w+)\s*$', line) if m: - pipe = m.group(1) + pipe = m.group(1).split('_TYPE_', 1)[0] print_if_verbose(f"found pipe {pipe}") m = re.match(r'^FUZZ_FNAME: (\S+)$', line) if m: -- cgit v1.2.1