diff --git a/QnetGateway.cpp b/QnetGateway.cpp index f3a31d7..8d6630a 100644 --- a/QnetGateway.cpp +++ b/QnetGateway.cpp @@ -1023,7 +1023,7 @@ void CQnetGateway::ProcessIncomingSD(const SDSVT &dsvt) sd.first = false; break; case 0x50U: // header - if (sd.size + sd.ih < 41) { + if (sd.size + sd.ih < 42) { memcpy(sd.header+sd.ih, c+1, size); sd.ih += size; if (sd.ih == 41) {