projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix onion messages of size BIG_PACKET_HOP_DATA_LEN
[rust-lightning]
/
fuzz
/
src
/
bin
/
msg_query_short_channel_ids_target.rs
diff --git
a/fuzz/src/bin/msg_query_short_channel_ids_target.rs
b/fuzz/src/bin/msg_query_short_channel_ids_target.rs
index 6c470e3b12ed6ce68227d9a97ab3eaba363a87b6..af3d37065e5655f58ac45337ecc0a6476ca318b6 100644
(file)
--- a/
fuzz/src/bin/msg_query_short_channel_ids_target.rs
+++ b/
fuzz/src/bin/msg_query_short_channel_ids_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_query_short_channel_ids::*;
extern crate lightning_fuzz;
use lightning_fuzz::msg_targets::msg_query_short_channel_ids::*;