Apple’s Chinese Censorship Features Caused iPhone Crashing Bug

Apple’s Chinese Censorship Features Caused iPhone Crashing Bug

Any company that wants to do business in China has to abide by the draconian censorship laws imposed by the country’s government. Even Apple, one of the most valuable companies in the world, has to play ball. According to security researcher Patrick Wardle, Apple’s efforts to appease the Chinese government led to an annoying iPhone bug that it only just fixed in the most recent software update, after the bug plagued users for two years.

The bug is specific enough to make anyone suspicious. With certain system configurations, apps that displayed the word “Taiwan” or the Taiwanese flag emoji would immediately crash the phone. According to Wardle, this bug was simple to reproduce on iPhones with country codes that included China or language settings including Chinese. English can still be set as the primary language, though.

Apple’s iOS is closed source, unlike Android. That made it difficult to track down the cause of the bug. By observing the phone’s memory and system restore files, Wardle managed to extract some of the code libraries. The bug traced back to a feature devised by Apple to classify messages based on the emoji they contain. Apple had configured iOS to flag messages, both types and received, that included the Taiwan flag emoji.

The intended behavior of this code is not to crash your phone, obviously. If an iPhone is localized to China, iOS merely is supposed to remove that emoji. The bug affected almost every messaging app including iMessage, Facebook Messenger, and WhatsApp. In China, messaging apps didn’t crash, but would not display the forbidden emoji. For US users plagued by the bug, they could at least temporarily stop the crashes by setting the phone’s region to China and then immediately changing it back.

Apple’s Chinese Censorship Features Caused iPhone Crashing Bug

After losing mainland China to communist forces in 1949, the Republic of China relocated to Taiwan. China claims sovereignty over Taiwan, leading to a great deal of tension that extends even to emoji. Wardle notes that Apple probably created code in iOS to remove Taiwan’s flag emoji at the behest of the Chinese government, and that code is the cause of the suspicious crashes. These restrictions drove Google to end its Chinese business operations a decade ago.

Luckily, that code won’t cause a problem for non-Chinese iPhones anymore. Wardle reported the bug to Apple, which has finally issued a patch. As of the latest 11.4.1 update, users won’t crash their phones simply by typing “Taiwan.”

Continue reading

ET Deals: BOGO on Select iPhones and Galaxy Smartphones at T-Mobile

Are you and your partner in the market for a new smartphone? Ready to invest in phones for your kids? Right now, T-Mobile is offering up hefty rebates on new phones from both Apple and Samsung with a qualifying trade-in.

Apple Will Let Users Deactivate Performance Throttling on iPhones

Apple has come under fire in recent weeks for its decision to slow down older iPhones with degraded batteries, but it wasn't just the actions that got Apple in hot water.

Apple May Replace Your Broken iPhone 6 Plus With an iPhone 6s Plus

Apple may be replacing iPhone 6 Pluses with iPhone 6s Pluses, if you've got one of the former in need of full repair or replacement. Might be your lucky day.

For the Love of God and All Things Holy, Don’t Bite an iPhone Battery

It's difficult to know when you're buying a genuine battery and when you might be getting a counterfeit or substandard replacement. Biting into it is pretty much the worst validation method we can think of.