diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-12-13 12:08:47 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2020-01-12 19:50:37 +0000 |
commit | e1c6e7d18b446b55634bb4807c6d1a9e9346bd6c (patch) | |
tree | bec96a9a1dea8c529bb88def2730dcf9416ce852 | |
parent | e61ddeef4cc35402b623dbb655ab06058866bfc4 (diff) | |
download | samba-e1c6e7d18b446b55634bb4807c6d1a9e9346bd6c.tar.gz |
decode_ndr_X_crash: always find pipe in honggfuzz file
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rwxr-xr-x | lib/fuzzing/decode_ndr_X_crash | 2 |
1 files changed, 1 insertions, 1 deletions
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: |