Commit 73ccdb3
committed
Fix CI segfault and address PR #480 review comments
- 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 coverage1 parent ef759aa commit 73ccdb3
3 files changed
Lines changed: 13 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
940 | 940 | | |
941 | 941 | | |
942 | 942 | | |
943 | | - | |
944 | 943 | | |
945 | 944 | | |
946 | 945 | | |
947 | | - | |
948 | 946 | | |
949 | 947 | | |
950 | 948 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1664 | 1664 | | |
1665 | 1665 | | |
1666 | 1666 | | |
1667 | | - | |
| 1667 | + | |
1668 | 1668 | | |
1669 | 1669 | | |
1670 | 1670 | | |
| |||
1728 | 1728 | | |
1729 | 1729 | | |
1730 | 1730 | | |
1731 | | - | |
1732 | | - | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1733 | 1734 | | |
1734 | 1735 | | |
1735 | 1736 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
355 | 359 | | |
356 | 360 | | |
357 | 361 | | |
| |||
584 | 588 | | |
585 | 589 | | |
586 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
587 | 595 | | |
588 | 596 | | |
589 | 597 | | |
| |||
596 | 604 | | |
597 | 605 | | |
598 | 606 | | |
| 607 | + | |
599 | 608 | | |
600 | 609 | | |
601 | 610 | | |
| |||
0 commit comments