Commit Graph
347 Commits
Author SHA1 Message Date
Roger A. Light 2fb87f8cc7 Add missing header for strcasecmp 2026-01-21 22:25:20 +00:00
Roger A. Light 2bf9c8c8fb persist-sqlite: Avoid array literal 2026-01-21 22:25:20 +00:00
Roger A. Light d2eb276f34 Fix incorrect memory free when finding duplicate username
Fix oss-fuzz #468922225. Unreleased changes.
2026-01-06 16:31:30 +00:00
Roger A. Light 30ee4a2d3e Fix heap use after free in password-file plugin
Unreleased code.

Closes oss-fuzz #462551340.
2025-12-09 13:25:34 +00:00
Roger A. Light 160ccde1cd password-file: Refactor parsing error handling 2025-11-19 22:14:00 +00:00
Roger A. Light 0ba2436589 Remove unused srand() etc. functions 2025-10-15 11:49:13 +01:00
Roger A. Light 0566a90eb0 Fix leak on exit in password-file plugin 2025-09-17 17:00:58 +01:00
Roger A. Light 0a6fa2ee90 Uncrustify config, plus updated format changes 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 48b76e49f8 Formatting: Misc automatic formatting changes 2025-09-17 12:03:06 +01:00
Roger A. Light 883fdb2ad2 Formatting: Double indent continuation 2025-09-17 12:03:06 +01:00
Roger A. Light 6e7ddef145 Formatting: Always include comma for last enum
Plus some spacing
2025-09-17 12:03:06 +01:00
Roger A. Light 9d95bf24c3 Formatting: Indent fixes 2025-09-17 12:03:06 +01:00
Roger A. Light d743413ac3 Formatting: Spacing consistency 2025-09-17 12:03:06 +01:00
Roger A. Light 67ad22df0a Formatting: Double space before functions. 2025-09-17 12:03:03 +01:00
Roger A. Light a9fe4037ea Add example plugin for topic hierarchy flattening.
Issue #3365
2025-09-16 16:13:18 +01:00
Roger A. Light 76eaef0419 Fix leak in password-file plugin on error
Unreleased changes
2025-08-24 11:33:00 +01:00
Roger A. Light d0a94d0f41 Fix leak in acl-file plugin.
Unreleased
2025-08-23 23:31:42 +01:00
Roger A. Light 3ecbf701a4 Fix variety of Coverity Scan issues in tests 2025-08-23 22:34:34 +01:00
Roger A. Light ed9936e39d Exit broker on reload if acl_file or password_file detect invalid input
Also exit if a plugin returns an error code from the RELOAD event.

Closes #3350.
2025-08-23 08:52:24 +01:00
Roger A. Light 7c8391908f Don't free data->acl_anon 2025-08-22 12:37:05 +01:00
Roger A. Light 40f814a8dc Fix Coverity Scan #1589589
Leak on error in config load
2025-08-22 11:14:00 +01:00
Roger A. Light e498168781 Fix oss-fuzz #439559900
Performance issue with acl files with thousands of ACLs in use
2025-08-22 10:03:42 +01:00
Roger A. Light c64273f663 Fix build on Mac OS, introduce Mac OS CI workflow
Closes #3312
2025-08-14 08:38:45 +01:00
Roger A. Light 518abf49ff oss-fuzz: Fix broker_fuzz_acl_file timeout 2025-08-09 10:06:31 +01:00
Norbert Heusser 7a22685866 Fixed memory issue with property handling in persistence SQLite will restore
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-08-04 18:36:24 +01:00
Steve Hamann 2077283a30 Add script to migrate from Snapshot persistence to SQLite persistence
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com>
2025-08-04 18:31:02 +01:00
Steve Hamann 2d6ad4a27f Add migration of mosquitto.conf to DynSec migration script
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com>
2025-08-04 18:30:21 +01:00
Roger A. Light 65ad337bbb dynsec: Add getDetails command 2025-07-17 17:04:48 +01:00
Roger A. Light 0c0683094b Allow plugins to choose when their tick event is next called 2025-07-10 21:06:01 +01:00
Roger A. Light 0b4ab2f285 Move password file code to own plugin 2025-07-10 14:49:46 +01:00
Roger A. Light c83ee48e5c Make acl-file function names clearer 2025-07-10 14:49:46 +01:00
Norbert Heusser 424df70395 Add support for will message to persistence API and Sqlite3 persistence plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2025-07-10 00:52:33 +01:00
Steve Hamann ff0afc8374 Implement migration script to migrate from ACL file to DynSec
Signed-off-by: Steve Hamann <steve.hamann@cedalo.com>
2025-07-10 00:46:17 +01:00
Roger A. Light c522361d35 Move acl_file code to own file. 2025-07-10 00:39:51 +01:00
Roger A. Light 2ff2029c42 mosquitto_ctrl interactive shell mode 2025-04-16 15:42:51 +01:00
Roger A. Light 3511db6889 Whitespace tidy 2025-04-06 22:40:48 +01:00
Roger A. Light f8d37b70a6 Merge branch 'fix-persist-plugin-expiry' of github.com:NorbertHeusser/mosquitto into NorbertHeusser-fix-persist-plugin-expiry 2025-02-26 09:59:32 +00:00
Roger A. Light ee485341dd Merge branch 'develop' of github.com:andreaskem/mosquitto into andreaskem-develop 2025-02-25 17:02:16 +00:00
Roger A. Light 2f32fcd949 Move properties_to_json to libmosquitto_common 2024-06-18 17:54:02 +01:00
Roger A. Light b5e21d146d Move password functions to libcommon. 2024-06-12 21:26:25 +01:00
Roger A. Light db6ab6869a Fix mismatched alloc/frees 2024-04-25 16:20:14 +01:00
Roger Light 20b34150f2 Windows build fixes 2024-03-27 08:38:13 +00:00
Roger A. Light df7fe15f75 Test vcpkg based build 2024-03-27 08:38:13 +00:00
Roger A. Light 5c8b676fec CMake make building plugins optional. 2024-03-25 07:56:23 +00:00
Roger A. Light 78cba447a2 Fix dynsec linking 2024-03-18 14:02:51 +00:00
Roger A. Light 4498193331 Refactor file functions to common static library. 2024-03-17 23:13:11 +00:00
Roger A. Light 16d465fa49 Refactor base64 functions to common static library. 2024-03-17 21:34:27 +00:00
Norbert Heusser b8564daa20 Fixed deletion of expired session after restore from persistence plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:18 +00:00