Closed pipiche38 closed 2 years ago
What is the expected behavior here? Nothing crashes, it's just a traceback.
PA is oft being used for dosing NCPc for getting control of the host system (some SDKs have getting security patches for eliminating it) but for getting access is very tricky then you must using the serial for knocking the host system.
I think one warning shall being OK so user can see if some one is trying getting in there system.
Application should consume the exception, not the library.
I don't understand what you mean by application. Here the application doesn't receive anything the stack crash is inside zigpy library, no ?
Fixed by packet API, since ZNP forwards all packets as-is to the application with packet_received
.
Looks like the libraries is not resilient to "Malformed Packet"
Here after is the Sniffed paquet
And here after is the message produce by the zigpy library