Seg fault bug fix when isValidJoin fails.
@@ -618,8 +618,6 @@ port_INLINE void activity_synchronize_endOfFrame(PORT_TIMER_WIDTH capturedTime)
// before authenticating the beacon, because nonce is created from the ASN
if (!ieee154e_vars.isSync && ieee802514_header.frameType == IEEE154_TYPE_BEACON) {
if (!isValidJoin(ieee154e_vars.dataReceived, &ieee802514_header)) {
- // invalidate variables
- memset(&ieee154e_vars, 0, sizeof(ieee154e_vars_t));
break;
}
}
