This bug can permanently break iPhone WiFi connectivity

A new bug in iPhone can permanently break users' WiFi by disabling it, the issue could be triggered by simply connecting to a rogue hotspot.
View full source