The hostapd event parsing code is delicate since there is no specified protocol, only the hostapd implementation. We should document our assumptions of the message format as tests and verify automally that the code parses the events correctly.
Additionally, we could introduce fuzz testing against our code to check its resistance against invalid input.
The
hostapdevent parsing code is delicate since there is no specified protocol, only the hostapd implementation. We should document our assumptions of the message format as tests and verify automally that the code parses the events correctly.Additionally, we could introduce fuzz testing against our code to check its resistance against invalid input.