Roger Light
2b69724ef2
Fix cmake build
2 years ago
Roger Light
92c1899278
Add MOSQ_EVT_CLIENT_OFFLINE.
...
This allows plugins to know when a client with a non-zero session expiry
interval has gone offline.
2 years ago
Roger A. Light
086a361bcc
Simplify $SYS metric generation.
2 years ago
Roger A. Light
1787d9b1a7
Fix potential db id collision.
2 years ago
Roger A. Light
747fcacd67
Make args const where possible, fix persist-sqlite build.
2 years ago
Roger A. Light
56462c1229
Refactor for more consistent json helper use.
2 years ago
Roger A. Light
3c6ad45489
Fix leak on error.
...
Closes oss-fuzz #57948 .
2 years ago
Roger A. Light
b7d7dc4a09
Fix plugin fuzz build.
2 years ago
Roger A. Light
32cfa9c3b3
Fix plugin fuzz targets not being built
2 years ago
Roger A. Light
b648ba227b
Fuzzing: Add dynsec file load fuzz target.
3 years ago
Roger A. Light
16b30632af
Remove excessively slow fuzz targets.
3 years ago
Roger A. Light
e6d9fcc7b2
oss-fuzz: Fix leak on error
3 years ago
Roger A. Light
47dde898fd
oss-fuzz: Fix "read_handle" fuzzing case.
3 years ago
Roger A. Light
6c48c9bbba
Fix test
3 years ago
Roger A. Light
2940d9cc4c
Move control common helper functions to broker.
3 years ago
Roger A. Light
53dc3006a2
Make cJSON a hard dependency.
3 years ago
Roger Light
3f7dd60daa
Merge pull request #2768 from cicorias/cicorias-fix-jail-plugin
...
fixes build fail on darwin arm64
3 years ago
Roger A. Light
ef33a33539
Compile all tests before running tests.
3 years ago
Roger A. Light
50b8d66e67
CodeQL workflow dispatch.
3 years ago
Roger A. Light
ed8211858e
CMake build fixes
3 years ago
Roger A. Light
910b8e2c1d
Remove effectively duplicate parameter.
3 years ago
Roger A. Light
3fd5ba5f18
Fix heap overflow when reading config.
...
Closes oss-fuzz #57002 .
3 years ago
Roger A. Light
94fbaa4fa1
Fuzzing: Configure flags to allow greater coverage
3 years ago
Roger A. Light
6f574f80ea
db_dump: Fix further memory leak on exit only.
3 years ago
Roger A. Light
bba3f3f849
db_dump: Fix memory not being freed on error exit.
3 years ago
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.
3 years ago
Roger A. Light
44415cb974
Fix passwd fuzz build
3 years ago
Roger A. Light
a791532c12
Simplify $SYS metric generation.
3 years ago
Shawn Cicoria
e74e5d0123
fixes build fail on darwin arm64
...
made cmake same as other plugin
examples and now it compiles
clean with cmake
Signed-off-by: Shawn Cicoria <github@cicoria.com>
Shawn Cicoria <shawn@cicoria.com>:
3 years ago
Roger A. Light
105a652fbf
Remove unused header.
3 years ago
Roger A. Light
489badccfa
Rearrange fuzz directory and fix build.
3 years ago
Roger A. Light
687e422fe6
Fuzzing: Fix ftbfs
3 years ago
Roger A. Light
ca5e0c6288
Fix crash whilst exiting after config error.
...
Closes oss-fuzz #56689 .
3 years ago
Roger A. Light
2b3a64ef69
Fuzzing: Direct packet parsing fuzzing
3 years ago
Roger A. Light
245b2807ad
Make test quiet.
3 years ago
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.
3 years ago
Roger A. Light
5b7036dfcd
Quieten log output
3 years ago
Roger A. Light
fa92db5480
Fix heap overflow when reading config.
...
This catches an error case where the broker would be exiting anyway.
Closes oss-fuzz #56008
3 years ago
Roger A. Light
84e21d478c
Fuzzing: Fix use after free.
...
This occurs only in case of a bad config, and only when the broker is
already exiting.
Closes oss-fuzz #56009 .
3 years ago
Roger A. Light
385ddd7d86
Limit bridge restart base and cap to prevent integer overflow.
...
Non-critical.
Closes oss-fuzz #56302 .
3 years ago
Roger A. Light
77b5dfb770
Fuzzing: Basic mosquitto_passwd target
3 years ago
Roger A. Light
799e3c214d
Fix build in some configurations.
3 years ago
Roger A. Light
5fbe8e5be2
Add --tls-keylog for clients.
3 years ago
Roger A. Light
7f0cd48921
Formatting plus whitespace tidy
3 years ago
Roger A. Light
e85e43c633
Pass disconnect reason to callback.
3 years ago
Roger A. Light
5265668734
Only typedef mosquitto_plugin_id_t once.
3 years ago
Roger A. Light
71e87c7561
Some support for running broker sequence tests over websockets
3 years ago
Roger A. Light
946261571f
Websockets: Don't fail on origin if no origins defined.
3 years ago
Roger A. Light
501082ed50
Remove duplicate subscribe event call
3 years ago
Roger A. Light
d1b19b22aa
Only free clientid on error.
3 years ago