projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix debug panic in onion utils on large custom TLVs or metadata.
[rust-lightning]
/
fuzz
/
src
/
bin
/
zbase32_target.rs
diff --git
a/fuzz/src/bin/zbase32_target.rs
b/fuzz/src/bin/zbase32_target.rs
index 0b9d629151d626fc5b2420d175c7250231533ad6..1553d6d2b66d60cab4cc899e0f7494abfccf6e5b 100644
(file)
--- a/
fuzz/src/bin/zbase32_target.rs
+++ b/
fuzz/src/bin/zbase32_target.rs
@@
-12,6
+12,9
@@
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
#![cfg_attr(feature = "libfuzzer_fuzz", no_main)]
+#[cfg(not(fuzzing))]
+compile_error!("Fuzz targets need cfg=fuzzing");
+
extern crate lightning_fuzz;
use lightning_fuzz::zbase32::*;
extern crate lightning_fuzz;
use lightning_fuzz::zbase32::*;