Xu Si Yu
4451a8c5ad
fix(mdns): Fix incorrect memory free for mdns browse
2025-01-23 09:08:25 +08:00
david-cermak
6d19aabb02
Merge pull request #721 from david-cermak/feat/mosq_target_tests
...
[mosq]: Add IDF MQTT stress tests to mosquitto CI
2025-01-21 12:55:49 +01:00
David Cermak
9162de1150
fix(mosq): Remove temp modification of IDF files
2025-01-21 12:27:09 +01:00
David Cermak
dbd164dd91
fix(mosq): Add a note about stack size
2025-01-21 12:27:09 +01:00
David Cermak
90d663ad01
feat(mosq): Add IDF MQTT stress tests to mosquitto CI
2025-01-21 12:27:09 +01:00
david-cermak
a83f1b6787
Merge pull request #736 from david-cermak/bump/mdns_1.4.4
...
[mdns]: Bump 1.4.3 -> 1.5.0
mdns-v1.5.0
2025-01-21 10:56:48 +01:00
David Cermak
84caca465d
bump(mdns): 1.4.3 -> 1.5.0
...
1.5.0
Features
- supported removal of subtype when updating service (4ad88e29 )
Bug Fixes
- Fix zero-sized VLA clang-tidy warnings (196198ec )
- Remove dead store to arg variable shared (e838bf03 )
- Fix name mangling not to use strcpy() (99b54ac3 )
- Fix potential null derefernce in _mdns_execute_action() (f5be2f41 )
- Fix AFL test mock per espressif/esp-idf@a5bc08fb55 (3d8835cf )
- Fixed potential out-of-bound interface error (24f55ce9 )
- Fixed incorrect error conversion (8f8516cc )
- Fixed potential overflow when allocating txt data (75a8e864 )
- Move MDNS_NAME_BUF_LEN to public headers (907087c0 , #724 )
- Cleanup includes in mdns.c (68a9e148 , #725 )
- Allow advertizing service with port==0 (827ea65f )
- Fixed complier warning if MDNS_MAX_SERVICES==0 (95377216 , #611 )
2025-01-20 17:57:07 +01:00
david-cermak
8f81478fff
Merge pull request #735 from david-cermak/fix/docs_build
...
[common]: Fix esp-docs dependencies
2025-01-20 14:50:32 +01:00
David Cermak
ae5a8ceeda
fix(mosq): Run mosquitto version check only on labeled job or push
2025-01-20 12:56:02 +01:00
David Cermak
774bab22ea
fix(common): Update esp-docs dependencies to fix docs-build job
2025-01-20 12:52:52 +01:00
david-cermak
265e38d684
Merge pull request #731 from tanyanquan/feat/update_subtype_removal
...
feat(mdns): supported removal of subtype when updating service (IDFGH-14413)
2025-01-20 09:48:27 +01:00
david-cermak
93f772171c
Merge pull request #732 from david-cermak/fix/mdns_clangtiy_warns
...
[mdns]: Fixes clang-tidy warnings
2025-01-20 09:47:56 +01:00
Tan Yan Quan
4ad88e297f
feat(mdns): supported removal of subtype when updating service
2025-01-16 10:56:54 +08:00
David Cermak
196198ecc9
fix(mdns): Fix zero-sized VLA clang-tidy warnings
...
and some minor leaks in creation of browse results
2025-01-15 14:23:34 +01:00
David Cermak
e838bf03f4
fix(mdns): Remove dead store to arg variable shared
...
Fixing: warning: Value stored to 'shared' is never read [clang-analyzer-deadcode.DeadStores]
2025-01-15 14:23:34 +01:00
David Cermak
99b54ac384
fix(mdns): Fix name mangling not to use strcpy()
...
Since it was flagged by clang-tidy as insecture API
2025-01-15 14:23:34 +01:00
David Cermak
f5be2f4115
fix(mdns): Fix potential null derefernce in _mdns_execute_action()
...
We did check for null-deref before checking 'a->type', but contol
continues and passes potential null-ptr to the processing function
_mdns_execute_action()
Fixed by asserting action != NULL, since it is an invalid state which
should never happen.
2025-01-15 14:21:59 +01:00
david-cermak
9b74256b51
Merge pull request #730 from david-cermak/fix/mdns_minor
...
[mdns]: Fixed some minor bugs
2025-01-15 12:27:05 +01:00
David Cermak
3d8835cfb9
fix(mdns): Fix AFL test mock per espressif/esp-idf@a5bc08fb55
2025-01-15 11:42:34 +01:00
David Cermak
24f55ce9b4
fix(mdns): Fixed potential out-of-bound interface error
...
invalid mdns_if was handled for enabling/announcing pcbs,
but not for the consequent browsing
Closes coverity isssue: 470162 Out-of-bounds access
2025-01-15 10:46:15 +01:00
David Cermak
8f8516cc3f
fix(mdns): Fixed incorrect error conversion
...
Mixing esp_err_t (int) with err_t (uint8_t) from lwip.
Closes coverity isssue: 470139 Overflowed return value
2025-01-15 10:46:15 +01:00
David Cermak
75a8e8640a
fix(mdns): Fixed potential overflow when allocating txt data
...
Closes coverity warning: 470092 Overflowed integer argument
2025-01-15 10:46:15 +01:00
David Cermak
907087c09b
fix(mdns): Move MDNS_NAME_BUF_LEN to public headers
...
Since it's used by public API as maximum length of user buffer
Closes https://github.com/espressif/esp-protocols/issues/724
2025-01-15 10:46:10 +01:00
David Cermak
68a9e14898
fix(mdns): Cleanup includes in mdns.c
...
Closes https://github.com/espressif/esp-protocols/issues/725
2025-01-15 10:44:12 +01:00
David Cermak
827ea65fd5
fix(mdns): Allow advertizing service with port==0
...
Closes https://github.com/espressif/esp-idf/issues/14335
2025-01-15 10:44:12 +01:00
David Cermak
9537721600
fix(mdns): Fixed complier warning if MDNS_MAX_SERVICES==0
...
Closes https://github.com/espressif/esp-protocols/issues/611
2025-01-15 10:44:07 +01:00
david-cermak
4394f845fc
Merge pull request #728 from david-cermak/bump/mdns_1.4.3
...
[mdns]: bump: 1.4.2 -> 1.4.3
mdns-v1.4.3
2025-01-08 10:24:01 +01:00
David Cermak
9b0ba6060f
bump(mdns): 1.4.2 -> 1.4.3
...
1.4.3
Features
- support zero item when update subtype (5bd82c01 )
2025-01-08 09:42:38 +01:00
david-cermak
7c6a3098af
Merge pull request #726 from zwx1995esp/feature/support_update_zero_item_of_subtype_for_mdns
...
feat(mdns): support zero item when update subtype (IDFGH-14369)
2025-01-07 18:40:25 +01:00
david-cermak
f3f3e23bec
Merge pull request #727 from david-cermak/fix/sockutls_gai_error
...
fix(sockutls): Fix gai_strerror() impl to return const string
sock_utils-v0.2.2
2025-01-07 15:59:24 +01:00
David Cermak
9ed835ba3f
bump(sockutls): 0.2.1 -> 0.2.2
...
0.2.2
Bug Fixes
- Fix gai_strerror() impl to return const string (f12a2056 )
2025-01-07 14:06:42 +01:00
David Cermak
f12a205657
fix(sockutls): Fix gai_strerror() impl to return const string
...
Previous gai_strerror() returned numeric representation of the code,
but used TLS storage, which might cause issues with stack sizes on all
tasks in the system. Alternatively we can leave the storage to static
only (which wouldn't be thread-safe) or we could one-time allocate and
never free (which is wrong).
This option uses hardcoded strings for common error codes used in lwip.
The disadvantage is that we might need to update the impl in the future
when lwip adds more codes.
2025-01-07 14:06:00 +01:00
zwx
5bd82c01a5
feat(mdns): support zero item when update subtype
2025-01-07 10:28:02 +08:00
david-cermak
b4cb8f8a66
Merge pull request #720 from david-cermak/fix/sock_utils_define_conflict
...
[sock-utils] Fix potential macro conflict
sock_utils-v0.2.1
2024-12-20 16:36:08 +01:00
David Cermak
0499ed93df
bump(sockutls): 0.2.0 -> 0.2.1
...
0.2.1
Bug Fixes
- Fix potential macro colission including standard headers (ade9448c )
2024-12-20 15:41:10 +01:00
David Cermak
ade9448c01
fix(sockutls): Fix potential macro colission including standard headers
2024-12-20 15:40:54 +01:00
david-cermak
4745fc8fe1
Merge pull request #719 from david-cermak/bump/mosq_2.2.0_1
...
[mosq]: Bump: v2.0.20 -> 2.0.20~1
mosq-v2.0.20_1
2024-12-20 15:31:13 +01:00
David Cermak
73e523e736
bump(mosq): 2.0.20 -> 2.0.20~1
...
2.0.20~1
Bug Fixes
- Use sock_utils instead of func stubs (3cd0ed37 )
- Update API docs adding on-message callback (5dcc3330 )
2024-12-20 15:09:41 +01:00
David Cermak
3cd0ed377b
fix(mosq): Use sock_utils instead of func stubs
2024-12-20 15:07:42 +01:00
David Cermak
95294f5f89
fix(mosq): Add consistency check for api docs and versions
2024-12-20 15:07:37 +01:00
David Cermak
5dcc33300f
fix(mosq): Update API docs adding on-message callback
2024-12-20 12:09:48 +01:00
david-cermak
840a561de4
Merge pull request #710 from david-cermak/feat/mosq_p2p_example
...
[mosq]: Add serverless broker example
mosq-v2.0.20
2024-12-19 17:11:13 +01:00
David Cermak
e6fb8aa078
bump(mosq): 2.0.18~0 -> 2.0.20~0
...
2.0.20~0
Features
- Upgrade to mosquitto v2.0.20 (3b2c614d )
- Add support for on-message callback (cdeab8f5 )
- Add example with two brokers synced on P2P (d57b8c5b )
Bug Fixes
- Fix dependency issues moving esp-tls to public deps (6cce87e4 )
2024-12-19 16:51:49 +01:00
David Cermak
3b2c614d86
feat(mosq): Upgrade to mosquitto v2.0.20
...
Used tagged version v2.0.20
2024-12-19 16:41:37 +01:00
David Cermak
cdeab8f517
feat(mosq): Add support for on-message callback
2024-12-19 16:41:37 +01:00
David Cermak
6cce87e465
fix(mosq): Fix dependency issues moving esp-tls to public deps
...
Since esp-tls structs are using in public header files
2024-12-19 16:41:37 +01:00
David Cermak
d57b8c5b29
feat(mosq): Add example with two brokers synced on P2P
...
Broker-less two chip example which virtual private IoT
networks on MQTT protocol.
2024-12-19 16:40:02 +01:00
david-cermak
9c11003449
Merge pull request #713 from david-cermak/feat/sock_utiis_0.2
...
[sock-utils]: Bump 0.1 -> 0.2
sock_utils-v0.2.0
2024-12-19 11:13:59 +01:00
David Cermak
85a7fc772c
bump(sockutls): 0.1.0 -> 0.2.0
...
0.2.0
Features
- Declare socketpair and gai_strerror via standard headers (b090a3cb )
- Add support for gethostname() (f7c0b756 )
2024-12-19 10:57:36 +01:00
David Cermak
b090a3cb69
feat(sockutls): Declare socketpair and gai_strerror via standard headers
...
Adding a reverse dependency to lwip and define macros, which
enable declarations of socketpair() and gai_strerror() in standard
heders (sys/socket.h and netdb.h)
2024-12-19 10:54:56 +01:00