Roger A. Light
1df253e4e3
Fix case where mixed default/non-default listener config could crash.
...
This effects only very unusual configs, and would cause a crash on
startup. It is not a security concern.
Fixes oss-fuzz #55886 .
3 years ago
Roger A. Light
be688e883b
Clear memory before use
3 years ago
Roger A. Light
ca04ef32f5
Cleanup config on error.
3 years ago
Roger A. Light
b50402c838
Cleanup config after --test-config
3 years ago
Roger A. Light
b2c566976d
Fuzzing: Broker config file testing.
3 years ago
Roger A. Light
da723c373b
Fix db_dump crash on corrupt file.
...
Closes oss-fuzz #55789
3 years ago
Roger A. Light
d8bc5df102
Fuzzing: db_dump alternate option fuzz targets
3 years ago
Roger A. Light
8c98a6ded4
Fix broker fuzz config.
...
Closes oss-fuzz #55733 .
This is a fuzz target only bug.
3 years ago
Roger A. Light
30d8d2ba6b
Fix leak on error.
...
Closes oss-fuzz #55723 .
This was a leak on a failure case which would have caused the program to
terminate.
3 years ago
Roger A. Light
c8e1cd963a
Fix leak on error
3 years ago
Roger A. Light
b0f8f244a3
Fix leak on error
3 years ago
Roger A. Light
d76e8de1bd
Limit persistence property length
3 years ago
Roger A. Light
a7026d06ae
Limit persistence property length
3 years ago
Roger A. Light
1c82fd2fbc
Fix leak on error.
3 years ago
Roger A. Light
8bf6cd001a
Fix leak on error.
3 years ago
Roger A. Light
5232e041d1
db_dump: Tidy up error reporting.
3 years ago
Roger A. Light
61c9696bec
db_dump: Use single corrupt db message path.
3 years ago
Roger A. Light
e6890ce298
Restrict payloadlen.
3 years ago
Roger A. Light
ab0d0f4afd
Restrict payload length when reloading.
3 years ago
Roger A. Light
c0b7f54ac1
Fuzzing: db_dump file loading
3 years ago
Roger A. Light
9ef4fde511
Fuzzing: Copy seed corpora to correct location
3 years ago
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.
3 years ago
Roger A. Light
ff8cac9fa7
Test: v5 subscribe with all options set.
3 years ago
Roger A. Light
9738406414
Fix db id generation in case of clock discontinuity.
...
Thanks to Rebecca Gellman.
3 years ago
Roger A. Light
5fb4b05d8f
Support for initial fuzzing through oss-fuzz
3 years ago
Roger A. Light
7c8af215ad
Fix building with WITH_CJSON=no
3 years ago
Roger A. Light
1a8e416b17
Add -q option to mosquitto
3 years ago
Roger A. Light
6a641c9c0a
Use _SAFE version incase a callback unregisters itself.
3 years ago
Roger A. Light
d7fac1c26f
Consistent mosquitto.conf install cmake / make
3 years ago
Roger A. Light
c2d9ff12ac
Persist set error return on error.
3 years ago
Roger A. Light
85f53b22dd
Fix Coverity Scan 1251560
3 years ago
Roger A. Light
dcbbf71cb2
Coverity suppressions
3 years ago
Roger A. Light
529e567ead
Fix Coverity Scan 1504066
3 years ago
Roger A. Light
823d6d113d
Fix Coverity Scan 1500606
3 years ago
Roger A. Light
f94bbbfdc0
Fix Coverity Scan 1502687
3 years ago
Roger A. Light
08a59670c9
Fix Coverity Scan 1251560
3 years ago
Roger A. Light
9a7d69f532
Fix Coverity Scan 1502688
3 years ago
Roger A. Light
eaaceaef58
Doc update
3 years ago
Roger A. Light
da0eab36a4
Remove unused events
3 years ago
Roger A. Light
fd330de080
client_id -> clientid rename.
3 years ago
Roger A. Light
0dc1fa5a49
Rejig SUBSCRIBE and UNSUBSCRIBE plugin event structs.
3 years ago
Roger A. Light
3e17494d34
Rename topic -> topic_filter in events.
3 years ago
Roger A. Light
b94d0d5c81
Simplify sub__leaf struct.
3 years ago
Roger A. Light
9260cf25f8
Fix parsing of IPv6 addresses in socks proxy urls.
3 years ago
Roger A. Light
9ef6c49266
Renaming and adding tests.
3 years ago
Abilio Marques
f82bc84995
update changelog to add detail on sub, ubsub and message_read plugin events
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques
46442193f3
add example plugin that jails clients
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques
4cc76aae9c
add example plugin that limits subscriptions' QoS
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques
e9af914cf0
add subcribe hooks on plugin API
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago
Abilio Marques
1677d1aed2
allow message modification on output
...
Signed-off-by: Abilio Marques <abiliojr@gmail.com>
3 years ago