Commit graph

43 commits

Author SHA1 Message Date
Roger A. Light
d346179137 Formatting 2026-01-18 22:45:10 +00:00
Roger A. Light
1d35f8e6fc Fuzzing: Fix fuzzer not being linked with CXX 2026-01-12 14:09:43 +00:00
Roger A. Light
88b90dd159 Fuzzing: Fix linking 2026-01-07 09:43:44 +00:00
Roger A. Light
88ef5e1774 Add fuzzer for proxy v1 2026-01-06 23:46:01 +00:00
Roger A. Light
23c918ee4a Add fuzzer for proxy v2 and fix a few issues.
Closes #3435. Thanks to kangyangWHU.
2026-01-06 23:31:57 +00: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
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
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
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
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
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
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
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
b2c566976d Fuzzing: Broker config file testing. 2023-02-08 22:38:59 +00:00
Roger A. Light
8c98a6ded4 Fix broker fuzz config.
Closes oss-fuzz #55733.

This is a fuzz target only bug.
2023-02-07 00:00:17 +00:00
Roger A. Light
9ef4fde511 Fuzzing: Copy seed corpora to correct location 2023-02-04 22:42:51 +00:00
Roger A. Light
b0a55b60c6 Fuzzing: Keep connecting until successful.
If there is a real problem, the fuzz timeout should be invoked.

Fixes oss-fuzz #55667.

This was a bug in the fuzz target only, not in the code being
fuzzed.
2023-02-04 19:48:16 +00:00
Roger A. Light
5fb4b05d8f Support for initial fuzzing through oss-fuzz 2023-01-31 13:54:21 +00:00