mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
f45dbd1f97
If appropriate interface is not set then RX callback can potentially dereference null pointer from `s_wifi_netifs` table. This in-fact resulted in `LoadProhibited` exception in HTTP server example test case. Order here for setting interface and then registering callback was correct but it was modified in 0e71a325de309400b68f018da7df52f1890c57ba causing this regression.