Commit Graph

55 Commits

Author SHA1 Message Date
Roger A. Light
12d864d3ea Fix fuzzing corpora generation 2025-10-21 22:52:16 +01:00
Roger A. Light
3f5984eb2b oss-fuzz: Fix 445970862
This is a test related error only, not a production code error
2025-09-19 14:47:33 +01:00
Roger A. Light
4c24b92e34 Formatting: Apply to C++ files 2025-09-17 12:48:02 +01:00
Roger A. Light
460995652e Formatting: Apply to C headers 2025-09-17 12:48:02 +01:00
Roger A. Light
7ea73f6d60 Formatting: Forbid single line if statements
These hide cases from coverage checks
2025-09-17 12:48:02 +01:00
Roger A. Light
67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light
fe713db1dc Attempt to unblock db_dump fuzzer 2025-08-10 08:33:58 +01:00
Roger A. Light
4edc7c23d6 Attempt to unblock mosquitto_passwd fuzzer 2025-08-10 08:32:26 +01:00
Roger A. Light
e9e3e62a45 Add initial size limits for non-PUBLISH packets 2025-08-09 20:33:38 +01:00
Roger A. Light
0277b6009e oss-fuzz: More realistic input case for broker_fuzz_queue_msg 2025-08-09 11:30:44 +01:00
Roger A. Light
3d0e96be85 Merge branch 'master' into develop 2025-07-29 16:07:57 +01:00
Roger A. Light
da451505bf Add dependency or Fuzzing workflow 2025-07-10 21:06:01 +01:00
Roger A. Light
aba5a625e3 Remove obsolete and unused WITH_EC build option 2025-05-08 11:14:23 +01:00
Roger A. Light
2ff2029c42 mosquitto_ctrl interactive shell mode 2025-04-16 15:42:51 +01:00
Roger A. Light
0f7839cc29 Fix fuzz build 2024-11-25 17:58:16 +00:00
Roger A. Light
02442238cb Fuzz: Add fuzzers to allow packet handling to get greater coverage 2024-11-20 11:02:39 +00:00
Roger A. Light
845c08891e Fuzz mosqutti_topic_tokenise 2024-11-19 22:59:58 +00:00
Roger A. Light
7cbe73063e Update fuzzers for lib -> libcommon change 2024-11-19 10:01:47 +00:00
Roger A. Light
62538dfcda Fuzzer build fix 2024-11-18 18:57:30 +00:00
Roger A. Light
b5e21d146d Move password functions to libcommon. 2024-06-12 21:26:25 +01:00
Roger A. Light
b89ff3f923 Fix fuzzers after refactoring 2024-03-17 23:29:15 +00:00
Roger A. Light
73bd5aed3a oss-fuzz: Minimum size for config test 2024-03-03 11:21:33 +00:00
Roger A. Light
4a97baf2b4 Fix file perms for fuzzers 2024-02-29 21:54:18 +00:00
Roger A. Light
b199410795 Add more broker fuzzers 2024-02-26 23:44:35 +00:00
Roger A. Light
3d1b132a16 Fuzzing: Force static linking of argon2 2024-02-26 14:12:44 +00:00
Roger A. Light
aa4cf4ce3f Fuzzer binaries should not use -shared! 2024-02-26 13:38:00 +00:00
Roger A. Light
eb461e02bd Fuzzing build fix 2024-02-20 17:19:23 +00:00
Roger A. Light
a5490a7408 oss-fuzz build fixes 2024-02-13 13:11:07 +00:00
Roger A. Light
d376a729ba Add argon2 to oss-fuzz deps 2024-02-11 23:00:52 +00:00
Roger A. Light
c8e313aac0 Fix build
This is for the case where command line overrides are set.
2023-09-19 22:48:24 +01:00
Roger A. Light
a31bee722f Simplify make build. 2023-05-10 16:20:06 +01:00
Roger A. Light
3c6ad45489 Fix leak on error.
Closes oss-fuzz #57948.
2023-04-16 19:35:02 +01:00
Roger A. Light
b7d7dc4a09 Fix plugin fuzz build. 2023-04-16 10:44:36 +01:00
Roger A. Light
32cfa9c3b3 Fix plugin fuzz targets not being built 2023-04-15 08:49:06 +01:00
Roger A. Light
b648ba227b Fuzzing: Add dynsec file load fuzz target. 2023-04-13 08:35:11 +01:00
Roger A. Light
16b30632af Remove excessively slow fuzz targets. 2023-04-12 22:43:32 +01:00
Roger A. Light
47dde898fd oss-fuzz: Fix "read_handle" fuzzing case. 2023-04-12 00:06:09 +01:00
Roger A. Light
53dc3006a2 Make cJSON a hard dependency. 2023-04-01 23:35:03 +01:00
Roger A. Light
94fbaa4fa1 Fuzzing: Configure flags to allow greater coverage 2023-03-20 22:38:21 +00:00
Roger A. Light
5f19971270 Fuzzing: Remove _with_init variants.
The packet parsing parts should be covered by read handle.

Also need to try get a successful build on oss-fuzz, so these may be
re-enabled in the future.
2023-03-12 08:33:56 +00:00
Roger A. Light
489badccfa Rearrange fuzz directory and fix build. 2023-03-07 09:57:37 +00:00
Roger A. Light
687e422fe6 Fuzzing: Fix ftbfs 2023-03-06 17:10:11 +00:00
Roger A. Light
2b3a64ef69 Fuzzing: Direct packet parsing fuzzing 2023-03-04 22:22:08 +00:00
Roger A. Light
245b2807ad Make test quiet. 2023-03-03 23:03:36 +00:00
Roger A. Light
0be6d00d66 Fuzzing: New broker packet fuzz targets
These initialise the broker and leave it running. This is problematic
from the point of view of deterministic testing, but should mean the
testing speed is vastly improved.
2023-03-03 23:00:25 +00:00
Roger A. Light
5b7036dfcd Quieten log output 2023-03-03 22:41:01 +00:00
Roger A. Light
77b5dfb770 Fuzzing: Basic mosquitto_passwd target 2023-03-03 21:42:11 +00:00
Roger A. Light
11cb25ee00 Fuzzing: utf8, pub, and sub checks. 2023-02-12 23:35:39 +00:00
Roger A. Light
b2c566976d Fuzzing: Broker config file testing. 2023-02-08 22:38:59 +00:00
Roger A. Light
d8bc5df102 Fuzzing: db_dump alternate option fuzz targets 2023-02-07 23:27:28 +00:00