Commit 1541cfe
Add MQTT v3.1.1 spec compliance checks
Enforce [MQTT-3.1.2-22]: reject CONNECT when password is set without
username. Add [MQTT-2.2.3]: validate Variable Byte Integer max value
(268,435,455) in MqttEncode_Vbi.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent e1caa8e commit 1541cfe
2 files changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
258 | 263 | | |
259 | 264 | | |
260 | 265 | | |
| |||
712 | 717 | | |
713 | 718 | | |
714 | 719 | | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
715 | 726 | | |
716 | 727 | | |
717 | 728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
263 | 265 | | |
264 | 266 | | |
265 | 267 | | |
| |||
0 commit comments