Commit Graph

221 Commits

Author SHA1 Message Date
Roger A. Light
a71685e8ff Fix file test for CI 2026-02-02 18:38:58 +00:00
Roger A. Light
16f41e61fc Add MOSQUITTO_UNSAFE_ALLOW_SYMLINKS env var
Setting this environment variable allows sensitive files to be read
through symlinks.

Closes #3461. Thanks to Jeff Cutsinger
2026-02-02 16:33:37 +00:00
Roger A. Light
d346179137 Formatting 2026-01-18 22:45:10 +00:00
Roger A. Light
8ad81a9917 MOSQ_EVT_ACL_CHECK event is now passed message properties where possible.
Closes #3176.
2026-01-12 23:51:02 +00:00
Roger A. Light
7a6af8e405 Persist test: Silence warning logs 2026-01-06 13:38:51 +00:00
Roger A. Light
7e5b7d02ca Persist: Use meaningful return codes 2026-01-06 13:37:12 +00:00
Roger A. Light
34ef74e7a4 Fix corrupt persistence restore case 2026-01-06 13:37:12 +00:00
Roger A. Light
b2aa092267 libcommon base64 unit tests 2025-12-01 00:05:36 +00: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
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
1ae1d08141 Fix variety of Coverity Scan issues in tests 2025-08-23 23:15:16 +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
3d0e96be85 Merge branch 'master' into develop 2025-07-29 16:07:57 +01:00
Roger A. Light
43dda2ae20 Fix some build variants 2025-07-10 16:08:49 +01:00
Roger A. Light
b351309b03 Further build option fail fixes 2025-07-08 14:54:13 +01:00
Roger A. Light
90d27216ab Fix test build for WITH_BRIDGE=no 2025-06-03 11:29:09 +01:00
Roger A. Light
01f7610ecd Remove embedded malformed UTF-8 in test, replace with escaped hex 2025-04-08 10:32:32 +01:00
Roger A. Light
3511db6889 Whitespace tidy 2025-04-06 22:40:48 +01:00
Roger A. Light
c6c6850d5c Whitespace tidy 2025-04-06 22:25:02 +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
a8d887f30b Merge branch 'fix2908' of github.com:ckrey/mosquitto into ckrey-fix2908 2025-02-25 12:34:41 +00:00
Roger A. Light
aa89eb3575 Minor sub tree refactor 2025-02-03 10:01:45 +00:00
Roger A. Light
dd2c25c1cf Merge branch 'master' into develop 2024-10-19 22:13:14 +01:00
Roger A. Light
2ea2a925eb Build fix 2024-10-16 17:55:10 +01:00
Christoph Krey
30c9cdc22a Check zero length topics and topic filters closes #2908
Signed-off-by: Christoph Krey <c@ckrey.de>
2024-10-12 08:15:40 +02:00
Roger A. Light
1914b3ee2a Use separate trees for shared/normal subs
Fixes Eclipse #217, #218.
2024-10-02 10:25:31 +01:00
Roger A. Light
3bb6c9ad51 Remove superfluous function arguments. 2024-10-02 10:24:53 +01:00
Roger A. Light
48eddd5676 Check for mismatched mosquitto_malloc / free calls. 2024-04-25 14:59:46 +01:00
Roger A. Light
433ede2c17 Test string to property 2024-03-27 08:38:13 +00:00
Roger A. Light
604b69a992 Test leak fixes 2024-03-26 12:43:22 +00:00
Roger A. Light
4498193331 Refactor file functions to common static library. 2024-03-17 23:13:11 +00:00
Roger A. Light
8cc21d1fa4 Refactor random functions to common static library. 2024-03-17 21:57:15 +00:00
Roger A. Light
16d465fa49 Refactor base64 functions to common static library. 2024-03-17 21:34:27 +00:00
Roger A. Light
9fe8b95dcf Refactor property functions to common static library. 2024-03-17 20:56:14 +00:00
Roger A. Light
b5c25cf1d0 Refactor memory functions to common static library. 2024-03-17 10:30:07 +00:00
Roger A. Light
81ad44e677 Refactor topic check functions to common static library. 2024-03-17 08:15:22 +00:00
Roger A. Light
a6344f833b Refactor time functions to common static library. 2024-03-17 07:58:45 +00:00
Roger A. Light
1204a7a6f7 Refactor strings functions to common static library. 2024-03-17 07:46:42 +00:00
Roger A. Light
6eb56dc6f1 Refactor UTF-8 code to common static library. 2024-03-17 07:45:58 +00:00
Norbert Heusser
fa6bb8b458 Fixed deletion of expired retain msg after restore from persistent plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:28 +00:00
Norbert Heusser
5c4505498e Fixed handling of expired messages after restore from persistent plugin
Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-03-12 07:54:13 +00:00
Roger A. Light
2c7084b16d Expire restored expired messages immediately. 2024-03-05 14:33:48 +00:00
Roger A. Light
bedb06f03a Fix cmake build 2024-03-05 10:18:59 +00:00
Roger A. Light
9f7b23ca72 Fix oss-fuzz 67175, 67180, 67191
Embedded 0 characters in a file would prevent the loading of that file.

This could not happen apart from corruption of the file, or by
deliberate manipulation by the admin. Minimal impact.
2024-03-04 14:24:55 +00:00
Norbert Heusser
3656b991d5 Refactoring persist-sqlite plugin and moved functionality from
handle_connect.c into database.c

Signed-off-by: Norbert Heusser <norbert.heusser@cedalo.com>
2024-02-15 22:43:28 +00:00
Roger A. Light
59471397f0 Test compile tidy 2024-01-18 09:17:28 +00:00
Roger A. Light
fe190d9388 Fix isolated test build 2024-01-18 09:09:33 +00:00