TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Malformed Wi-Fi name bug can require iPhone factory reset to fix

9 pointsby asix66almost 4 years ago

2 comments

colejohnson66almost 4 years ago
As someone who doesn’t program in C or C++ regularly, aren’t bugs from format strings caused by passing the user string as the “format string”? For example,<p><pre><code> printf(userInput) &#x2F;&#x2F; WRONG printf(&quot;%s&quot;, userInput) &#x2F;&#x2F; OK </code></pre> Don’t compilers warn about these potential bugs?
评论 #27732347 未加载
meithamalmost 4 years ago
TLDR: connecting to a WiFi AP that has %s and %p, e.g. %secretclub%power can brick the WiFi connectivity of iPhone even beyond repeated resets!