Skip to content

Add Testing Validation and Fixes for wolfMQTT#480

Merged
dgarske merged 23 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-1
Apr 10, 2026
Merged

Add Testing Validation and Fixes for wolfMQTT#480
dgarske merged 23 commits intowolfSSL:masterfrom
aidangarske:fenrir-fixes-1

Conversation

@aidangarske
Copy link
Copy Markdown
Member

F-2341, F-2342, F-2339, F-2340, F-2344, F-2351, F-2352, F-2357, F-2022, F-2023, F-2323, F-2324, F-2325, F-2343, F-2345, F-2346, F-2347, F-2353, F-2354, F-2358

…r hmtBcprefix wildcard guard [MQTT-4.7.2]
…r PUBLISH topic wildcard rejection [MQTT-3.3.2-2]
…MqttEncode_Publish packet_id==0 QoS check
…MqttDecode_ConnectAck remain_len boundary
…p encoder omitting reason_code with SUCCESS+properties
…ch parent match for x/# vs x [MQTT-4.7.1.2]
…te returning success after failed WebSocket write
…laintext listener active with auth credentials
…MqttEncode_Connect password-without-username check
…riable Byte Integer encodings [MQTT-1.5.5-1]

This comment was marked as resolved.

wolfSSL-Fenrir-bot

This comment was marked as resolved.

  - Fix unit test SIGSEGV on macOS: call MqttProps_Init/ShutDown for v5
    static property pool semaphore initialization
  - Use xfer instead of client->write.len for tx_buf clearing (write.len
    is zeroed by MqttWriteStop before the XMEMSET)
  - Free decoded v5 props in roundtrip test to prevent pool exhaustion
  - Remove unused T24_PLUS_RC/T24_HASH_RC variables in broker.test
  - Change TLS credential warning guard from WOLFMQTT_DEBUG_CLIENT to
    DEBUG_WOLFMQTT for broader coverage
@aidangarske aidangarske marked this pull request as ready for review April 9, 2026 20:39
@aidangarske aidangarske requested review from Copilot and dgarske and removed request for Copilot April 9, 2026 20:39
Copy link
Copy Markdown
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐺 Skoll Code Review

Overall recommendation: APPROVE
Findings: 4 total — 4 posted, 0 skipped

Posted findings

  • [Medium] Credential clearing uses plain memset instead of secure zeroizationsrc/mqtt_client.c:1733
  • [Low] Credential clearing is skipped during NONBLOCK partial writessrc/mqtt_client.c:1719-1727
  • [Low] Overlong VBI check may reject packets from non-compliant implementationssrc/mqtt_packet.c:247-250
  • [Info] Unit test passes NULL connect_ack to test malformed CONNACKtests/unit_test.c:232-242

Review generated by Skoll via openclaw

@aidangarske aidangarske requested review from Copilot and removed request for Copilot April 9, 2026 23:03
dgarske
dgarske previously approved these changes Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 23:44
@aidangarske aidangarske requested a review from dgarske April 9, 2026 23:45

This comment was marked as resolved.

@dgarske dgarske merged commit 9cfac07 into wolfSSL:master Apr 10, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants