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
/
msg_funding_signed_target.rs
diff --git
a/fuzz/src/bin/msg_funding_signed_target.rs
b/fuzz/src/bin/msg_funding_signed_target.rs
index ea05acdcee1425cae380f116699f2a12365a2cf4..bfee1f5aee934cfe4dd2084231d4ea9beda37cb8 100644
(file)
--- a/
fuzz/src/bin/msg_funding_signed_target.rs
+++ b/
fuzz/src/bin/msg_funding_signed_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::msg_targets::msg_funding_signed::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_funding_signed::*;