This repository was archived by the owner on Mar 5, 2026. It is now read-only.
Commit 4a55ee9
committed
AsyncWebSocket: Fix packet buffer smash
In a misguided attempt to work around badly written clients,
AsyncWebSocketClient::_onData was trying to restore the value of the
byte one past the end of the packet buffer. Unfortunately, that value
might have been *correctly* changed by the callback, such as when it's
storing heap metadata.
This seemed to be causing of websocket-related crashes in WLED on
ESP8266.1 parent 551395f commit 4a55ee9
1 file changed
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
721 | 721 | | |
722 | 722 | | |
723 | 723 | | |
724 | | - | |
725 | 724 | | |
726 | 725 | | |
727 | 726 | | |
| |||
772 | 771 | | |
773 | 772 | | |
774 | 773 | | |
775 | | - | |
776 | | - | |
777 | | - | |
778 | | - | |
779 | 774 | | |
780 | 775 | | |
781 | 776 | | |
| |||
0 commit comments