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

Xbox Series X Launch Is Microsoft’s Biggest Ever, Causes ISP Traffic Spike
Xbox Series X Launch Is Microsoft’s Biggest Ever, Causes ISP Traffic Spike

Microsoft claims the Xbox Series X is its most successful debut in history and specifically calls out the Xbox Series S for bringing new players into the fold.

Cyberpunk 2077 Patch Delayed Because CDPR Employees Can’t Use Their PCs
Cyberpunk 2077 Patch Delayed Because CDPR Employees Can’t Use Their PCs

CD Projekt Red reportedly doesn't have its VPN up and running two weeks after the hack that stole its source code. That's not a good sign.

Samsung’s Fab Woes Are Now Expected to Cause an SSD Shortage
Samsung’s Fab Woes Are Now Expected to Cause an SSD Shortage

New reports suggest Samsung may not ship new SSD controllers from its Austin facility until May. That's a problem considering 75 percent of its SSD controllers come from that factory.

A New Windows 10 Update Is Causing Blue Screen Crashes, Surprising Exactly Nobody
A New Windows 10 Update Is Causing Blue Screen Crashes, Surprising Exactly Nobody

A new security update is causing blue screens on computers when they attempt to use certain brands of printers. As if printers and Windows updates weren't annoying enough already, they have now joined forces.