Commit Graph

3631 Commits (526566873499a56b552b1f771e98545cd6695acf)
 

Author SHA1 Message Date
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
Roger A. Light d72e1c4949 Add `mosquitto_property_remove`
This isfor removing properties from property lists.
3 years ago
Roger A. Light 63b84c493b Don't leak memory on bridge config.
Closes oss-fuzz #56003.

Non-critical, this was only in unreleased code.
3 years ago
Roger A. Light 365f7047af Message out event should be able to deny publishes. 3 years ago
Roger A. Light 23983afe82 Fix invalid handling of long hex in config file.
Closes oss-fuzz #55948.
3 years ago
Roger A. Light 769c94a103 Fix oss-fuzz #55950
Reproduces in the fuzz target, but testing hasn't reproduced in real
code.
3 years ago
Roger A. Light 11cb25ee00 Fuzzing: utf8, pub, and sub checks. 3 years ago
Roger A. Light 7adf77e966 Fix crash on exit.
This only occurs when the broker is exiting anyway.

Fixes oss-fuzz #55820.
3 years ago
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