Commit 061b9de
authored
Reject invalid fragmented payloads (#257)
* Reject invalid fragmented payloads
- On Arduino, there is a need to reject invalid fragmented payloads with less than 2 fragments
* Slight modification
- header->reserved is used for header->type on the last fragment. Allow low numbers for the last fragment1 parent b245b3a commit 061b9de
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
436 | 440 | | |
437 | 441 | | |
438 | 442 | | |
| |||
0 commit comments