From a6dff8ff2fe4e6b59a68f14e5aef40721712a70c Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Fri, 30 Aug 2019 17:47:13 -0700 Subject: [PATCH] Add an extra catch as workaround for possible cause of ARM crash. --- node/IncomingPacket.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node/IncomingPacket.cpp b/node/IncomingPacket.cpp index 550ab3e5b..331446ced 100644 --- a/node/IncomingPacket.cpp +++ b/node/IncomingPacket.cpp @@ -113,6 +113,9 @@ bool IncomingPacket::tryDecode(const RuntimeEnvironment *RR,void *tPtr) RR->sw->requestWhois(tPtr,RR->node->now(),sourceAddress); return false; } + } catch (int ztExcCode) { + RR->t->incomingPacketInvalid(tPtr,_path,packetId(),sourceAddress,hops(),verb(),"unexpected exception in tryDecode()"); + return true; } catch ( ... ) { RR->t->incomingPacketInvalid(tPtr,_path,packetId(),sourceAddress,hops(),verb(),"unexpected exception in tryDecode()"); return true;