Commit Graph

1020 Commits

Author SHA1 Message Date
Bogdan Kolendovskyy ee9472f12f docs: Add advice regarding outbox message pile-up 2026-04-10 15:20:26 +02:00
Euripedes Rocha 2601f7695c Merge branch 'changecomponent' into 'master'
Modify component for github issues

See merge request espressif/esp-mqtt!226
2026-04-07 14:44:20 +02:00
Euripedes Rocha Filho 2f956726b4 ci: Modify component for github issues 2026-04-07 12:39:59 +02:00
Euripedes Rocha 689a2656a7 Merge branch 'fix/remaining-length-overflow' into 'master'
fix(mqtt_msg): fix signed integer overflow in remaining length decoding

See merge request espressif/esp-mqtt!276
2026-04-07 12:18:09 +02:00
Euripedes Rocha a607c9babc Merge branch 'update_sync-jira' into 'master'
ci: Update jira sync github action

See merge request espressif/esp-mqtt!288
2026-04-07 11:15:41 +02:00
Eun0us ffd44fb424 fix: fix signed integer overflow in remaining length decoding
The expression (buffer[i] & 0x7f) << (7 * (i - 1)) performs a left
shift on a signed int. When i >= 5, the shift amount reaches 28+ and
0x7f << 28 overflows INT_MAX, which is undefined behavior.

Per MQTT 3.1.1 section 2.2.3, the Remaining Length field uses at most
4 continuation bytes, so limit the decoding loop accordingly. Also
cast to size_t in mqtt_get_total_length() where totlen is already
size_t.

Affects mqtt_get_total_length() and mqtt_get_publish_data().

Found via coverage-guided fuzzing (libFuzzer + UBSan).
2026-04-07 11:02:39 +02:00
Euripedes Rocha Filho 570bbcfde4 ci: Update jira sync github action 2026-04-07 09:25:22 +02:00
Euripedes Rocha b4c1b9674a Merge branch 'release-definition' into 'master'
ci: Introduce release please for automated release

See merge request espressif/esp-mqtt!291
2026-04-02 15:24:42 +02:00
Euripedes Rocha Filho 9adb990ae1 ci: Introduce release please for automated release 2026-04-02 14:14:58 +02:00
Euripedes Rocha 7d07a6f79d Merge branch 'fix-idf-ci-artifacts' into 'master'
ci: Remove artifacts from build job template fo idf-ci 1.0.1

See merge request espressif/esp-mqtt!294
2026-04-02 14:14:14 +02:00
Euripedes Rocha Filho 8ed107b794 ci: Remove artifacts from build job template fo idf-ci 1.0.1
- Already included in the generate_test_child_pipeline
2026-04-01 19:26:04 +02:00
Euripedes Rocha 09749751cc Merge branch 'fix-idf-ci-native-artifacts' into 'master'
ci: Fix idf-ci artifacts path

See merge request espressif/esp-mqtt!292
2026-04-01 09:08:50 +02:00
Euripedes Rocha Filho 9ef975c54b ci: Fix idf-ci artifacts path 2026-03-31 15:52:26 +02:00
Euripedes Rocha 4cfd15f0a9 Merge branch 'docs-zh-cn' into 'master'
docs: re-enable zh_CN build

See merge request espressif/esp-mqtt!290
2026-03-27 14:24:29 +01:00
Euripedes Rocha Filho 42cce9f86f docs: re-enable zh_CN build 2026-03-27 07:59:42 +01:00
Euripedes Rocha 508319a31f Merge branch 'feat/remove_unnecessary_mocks_from_host_test' into 'master'
ci: Clear unneeded mocks from mqtt host test

See merge request espressif/esp-mqtt!289
2026-03-26 13:34:52 +01:00
Bogdan Kolendovskyy b4703c9c89 ci: Clear unneeded mocks from mqtt host test 2026-03-26 10:45:16 +01:00
Euripedes Rocha b2181a6e9a Merge branch 'fix_actions_permissions' into 'master'
ci: Fix gH actions permissions

See merge request espressif/esp-mqtt!286
2026-03-23 12:13:58 +01:00
Euripedes Rocha Filho 827da7ff23 ci: Fix gH actions permissions 2026-03-20 15:39:39 +01:00
Euripedes Rocha 6b0dd4991c Merge branch 'mqtt_update_build_images' into 'master'
ci: Add latest build image to 6.1

See merge request espressif/esp-mqtt!283
2026-03-06 06:46:06 +01:00
Octavio Godoy 4dd566c0ec ci: Add 6.1 as latest build image 2026-03-05 16:23:23 +01:00
Euripedes Rocha d4dac88fdd Merge branch 'ci-test-reports' into 'master'
Makes test reports available

See merge request espressif/esp-mqtt!280
2026-03-03 08:38:01 +01:00
Euripedes Rocha Filho 0a058845ed ci: add JUnit test reports to test pipeline job template
Makes xml reports available for parent.
2026-03-02 16:01:36 +01:00
Euripedes Rocha Filho d2343b11ee ci: ignore generated test_child_pipeline.yml
test_child_pipeline.yml is auto-generated
2026-03-02 10:10:20 +01:00
Euripedes Rocha d3ab324b42 Merge branch 'fix/esp32p4-tcp-partition' into 'master'
ci: Move P4 apps to use large partitionc

See merge request espressif/esp-mqtt!279
2026-02-27 13:34:55 +01:00
Euripedes Rocha Filho 72abeb4063 ci: Move P4 apps to use large partitionc
Avoid the warning and allow to build on IDF 5.5
2026-02-27 10:41:03 +01:00
Euripedes Rocha a5695b05f3 Merge branch 'fix/mqtt5_var_len_ub' into 'master'
fix(mqtt5): Fix UB in variable len processing

See merge request espressif/esp-mqtt!270
2026-02-24 13:32:42 +01:00
Euripedes Rocha 11f070c685 Merge branch 'feat/add_opaque_ds_driver_support' into 'master'
feat: adds support to use PSA opaque DS driver

See merge request espressif/esp-mqtt!274
2026-02-24 12:37:19 +01:00
Ashish Sharma aea4f3ef0d feat: adds support to use PSA opaque DS driver 2026-02-05 11:25:57 +08:00
Euripedes Rocha 4c0edaf09a Merge branch 'config_clarification' into 'master'
docs: Clarify defauls on configuation options

See merge request espressif/esp-mqtt!273
2026-02-04 08:27:03 +01:00
Euripedes Rocha 6f155005df Merge branch 'fix/mqtt5_property_disclose' into 'master'
fix(mqtt5): Sanitize property len/types to harden mqtt5-msg

See merge request espressif/esp-mqtt!272
2026-02-03 15:31:46 +01:00
David Cermak e427ebb7ea fix(mqtt5): Sanitize propery len/types to harden mqtt5-msg 2026-02-03 12:34:43 +01:00
Euripedes Rocha Filho dbc6fed4f6 docs: Clarify defauls on configuation options 2026-02-03 12:30:24 +01:00
Euripedes Rocha 7dd8f41615 Merge branch 'fix/build_failure_ssl_ds' into 'master'
Add nvs_flash dependency explicitly

See merge request espressif/esp-mqtt!271
2026-02-03 12:30:03 +01:00
harshal.patil d289d73fc6 fix(examples): Add nvs_flash dependency explicitly 2026-01-16 10:51:36 +05:30
David Cermak 3c5777d706 fix(mqtt5): Fix UB in variable len processing 2026-01-06 12:59:46 +01:00
Euripedes Rocha b6e8c65305 Merge branch 'feature/mqtt_provide_client_state' into 'master'
feat(mqtt): Add API to get MQTT client's status

Closes IDFGH-16071

See merge request espressif/esp-mqtt!251
2025-12-09 12:49:07 +01:00
Bogdan Kolendovskyy 77a875c804 feat: Add API to get MQTT client's status
Add a function which returns the status of MQTT client, either initialized,
connected, reconnecting, or disconnected.

Closes https://github.com/espressif/esp-mqtt/issues/307
2025-12-02 14:59:39 +01:00
Euripedes Rocha 55ee628c30 Merge branch 'removes_forward_slash_on_topics' into 'master'
fix: Removes forward / from topics in examples and test

Closes IDFGH-14696

See merge request espressif/esp-mqtt!264
2025-11-26 16:36:43 +01:00
Euripedes Rocha Filho 4c57d316c0 fix: Removes forward / from topics in examples and test
Cleans up examples to adhere to mqtt best practices
2025-11-26 14:31:54 +01:00
Euripedes Rocha a85f5c9509 Merge branch 'fix_build_warnings' into 'master'
ci: Ignore known warnings in CI build

See merge request espressif/esp-mqtt!267
2025-11-26 14:31:22 +01:00
Euripedes Rocha Filho 7011f71e5e ci: Ignore known warnings in CI build 2025-11-26 10:52:17 +01:00
Euripedes Rocha 0098278dd1 Merge branch 'github_deploy_fix' into 'master'
ci: Change git clone depth to avoid false errors when depoloying

See merge request espressif/esp-mqtt!266
2025-11-25 17:26:33 +01:00
Euripedes Rocha Filho 1d487dc6ed ci: Change git clone depth to avoid false errors when depoloying 2025-11-25 16:10:48 +01:00
Euripedes Rocha c4b2c72e90 Merge branch 'fix_github_deploy' into 'master'
ci: Deploy correctly to github

See merge request espressif/esp-mqtt!262
2025-11-24 13:57:28 +01:00
Euripedes Rocha Filho cc07c725b1 ci: Deploy correctly to github 2025-11-24 12:54:47 +01:00
Euripedes Rocha 4d326ee462 Merge branch 'bugfix/host_test_setup_fix' into 'master'
ci: Fix mqtt being unavailable to host test

See merge request espressif/esp-mqtt!263
2025-11-19 16:19:47 +01:00
Bogdan Kolendovskyy edd88ea9e9 ci: Fix mqtt being unavailable to host test 2025-11-19 13:53:04 +01:00
Rocha Euripedes e8d4b86d1f Merge branch 'fix_github_deploy' into 'master'
ci: Fix deploy to github

See merge request espressif/esp-mqtt!261
2025-10-23 04:39:21 +08:00
Euripedes Rocha Filho 59d9239ef3 ci: Fix deploy to github 2025-10-22 16:24:28 +02:00