diff --git a/src/protocols/AX25/AX25.cpp b/src/protocols/AX25/AX25.cpp index 3c60072e..7fe3f496 100644 --- a/src/protocols/AX25/AX25.cpp +++ b/src/protocols/AX25/AX25.cpp @@ -440,7 +440,7 @@ int16_t AX25Client::sendFrame(AX25Frame* frame) { } void AX25Client::getCallsign(char* buff) { - strncpy(buff, sourceCallsign, RADIOLIB_AX25_MAX_CALLSIGN_LEN); + strncpy(buff, sourceCallsign, RADIOLIB_AX25_MAX_CALLSIGN_LEN + 1); } uint8_t AX25Client::getSSID() {