mirror of
https://github.com/pine64/bl_iot_sdk.git
synced 2024-10-02 21:12:27 +00:00
6131dfddd8
This adds some basic checks to the subroutines of eap_input to check that we have requested or agreed to doing EAP authentication before doing any processing on the received packet. The motivation is to make it harder for a malicious peer to disrupt the operation of pppd by sending unsolicited EAP packets. Note that eap_success() already has a check that the EAP client state is reasonable, and does nothing (apart from possibly printing a debug message) if not. Signed-off-by: Paul Mackerras <paulus@ozlabs.org> |
||
---|---|---|
.. | ||
3rdparty/aws-iot | ||
audio | ||
bl602 | ||
fs | ||
hal_drv | ||
network | ||
security/mbedtls | ||
stage | ||
sys | ||
utils |