Closed m-dahl closed 2 days ago
Thanks for reporting this. I will try to reproduce and fix this as soon as possible
I wasn't able to reproduce the crash - I assume it depends on the radius server used (I'm using FreeRadius) when trying to parse a negative response from the server
However, the backtrace was useful to spot a problematic / too optimistic implementation of atoi
Bug description
Hi, sorry for the lack of details I had to work around the issue as it arose in production. Since then I have not been able to test more. But I captured the following backtrace and I think it could be interesting for you:
To Reproduce
Not familiar with how the authentication protocol works but what happened is that my credentials needed a new password (password needs to be rotated every n months) and this caused a panic in esp-wifi. I assume this is communicated back during handshaking with the client and this path is not handled properly. With an updated password the panic went away.
Try to connect to enterprise wifi with expired authentication details
Didn't try on main but was running 0.21.0 which is recent.
Environment