fuzz/fuzz-handle_onion_message.c: fix header order.
What changed, and why it matters
This commit only reorders #include header lines in two test fuzzing source files so they follow the project's required alphabetical/system ordering. It does not change any executable code, fix a bug, or alter runtime behavior.
No security action needed; treat as a style/CI hygiene change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a pure header-ordering cleanup in tests/fuzz/fuzz-full_channel.c and tests/fuzz/fuzz-handle_onion_message.c. No functional code, macros, logic, or data structures are modified. The commit message states ‘We check this now,’ implying a newly enforced style check rather than a security fix.
Changed components
tests/fuzz/fuzz-full_channel.ctests/fuzz/fuzz-handle_onion_message.cInspect captured patch +8 / −8
diff --git a/tests/fuzz/fuzz-full_channel.c b/tests/fuzz/fuzz-full_channel.c
index 7a5a6a84..c907f453 100644
--- a/tests/fuzz/fuzz-full_channel.c
+++ b/tests/fuzz/fuzz-full_channel.c
@@ -3,15 +3,15 @@
* from that test.
*/
#include "config.h"
-#include <fcntl.h>
-#include <common/blockheight_states.h>
#include <ccan/ccan/array_size/array_size.h>
+#include <channeld/full_channel.h>
+#include <common/blockheight_states.h>
#include <common/channel_type.h>
#include <common/fee_states.h>
#include <common/htlc_wire.h>
#include <common/setup.h>
#include <common/status.h>
-#include <channeld/full_channel.h>
+#include <fcntl.h>
#include <tests/fuzz/libfuzz.h>
/* MOCKS START */
diff --git a/tests/fuzz/fuzz-handle_onion_message.c b/tests/fuzz/fuzz-handle_onion_message.c
index 03112be6..0bc4b308 100644
--- a/tests/fuzz/fuzz-handle_onion_message.c
+++ b/tests/fuzz/fuzz-handle_onion_message.c
@@ -1,18 +1,18 @@
#include "config.h"
-#include <fcntl.h>
-#include <setjmp.h>
-#include <secp256k1_ecdh.h>
#include <common/daemon_conn.h>
#include <common/ecdh.h>
#include <common/setup.h>
#include <common/status.h>
#include <common/wire_error.h>
-#include <connectd/connectd_wiregen.h>
#include <connectd/connectd.h>
+#include <connectd/connectd_wiregen.h>
#include <connectd/multiplex.h>
#include <connectd/onion_message.h>
-#include <wire/peer_wiregen.h>
+#include <fcntl.h>
+#include <secp256k1_ecdh.h>
+#include <setjmp.h>
#include <tests/fuzz/libfuzz.h>
+#include <wire/peer_wiregen.h>
static int lightningd_fd;
static struct privkey priv;
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.