mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-08-19 21:44:50 +00:00
When the debugger drops the serial link uncleanly mid-frame (no CLOSE_AND_UNLOAD packet), SerialConnectionRecvBuffer overflowed without an end-of-buffer marker and returned FALSE into the KD dispatch loop retry. The loop re-entered the same desynced stream, so it overflowed again at once and flooded 'buffer exceeds the buffer limitation' (and could wedge the KD driver on the next reconnect). Discard bytes to the next end-of-buffer marker to re-align, start a fresh frame, and log once per desync episode with LogWarning. Framing and protocol are unchanged. Refs #661 |
||
|---|---|---|
| .. | ||
| headers | ||
| imports | ||
| modules | ||
| HyperDbgSdk.h | ||