Apple Fixed Bug in iOS 11 That Crashed Devices When Users Entered the Word 'Taiwan'

Discussion in 'Politics, Religion, Social Issues' started by MacRumors, Jul 11, 2018.

  1. MacRumors macrumors bot


    Apr 12, 2001

    Apple quietly fixed a bug in iOS 11 that caused some devices to crash when the word "Taiwan" was entered in a text field or the Taiwan emoji was used, according to a security researcher (via Axios).

    Digita Security's Patrick Wardle outlined in a blog post how the glitch in iOS 11.3 caused instant crashes on a variety of native and third-party iPhone and iPad apps, including iMessages, Facebook, and WhatsApp.


    Wardle explained that although some aspects of the bug remained unclear, his investigations found that a "null" code would prompt the crash when a "removeEmoji" operation led the system to check the device's language/region settings.

    The glitch appears to be the unintended result of some lines of code that Apple added to iOS to hide the Taiwanese flag emoji on devices set to the China region. Apparently, the code worked for iOS devices set to China, but caused crashes on devices that had somehow ended up in an "unsupported region-less state." It's unclear, however, exactly how a device could end up in that state.

    While Apple fixed the glitch in iOS 11.4.1 after Wardle reported it, the bug's occurrence highlights Apple's willingness to placate China when it comes to sensitive political matters. Taiwan and China have had a fractious relationship ever since the Chinese Civil War, with China long considering Taiwan to be under its sovereignty, despite Taiwan officially self-recognizing as an independent democracy wholly separate from mainland China.

    Apple has made similar moves in the past to protect its important Chinese market. In July 2017, for example, Apple removed many VPN apps from the App Store in China, following regulations passed earlier in the year that require such apps to be authorized by the Chinese government.

    In December 2016, the company was forced to remove both the English-language and Chinese-language versions of The New York Times app from the Chinese App Store, after being informed by the Chinese authorities that they were in violation of local regulations.

    Another case of Apple censoring in China included the forced shutdown of iTunes Movies and the iBooks Store, following the release of controversial independent movie Ten Years, which won best picture prize at the Hong Kong Film Awards. The dystopian film imagines Hong Kong in 2025 with language police, mini Red Guards, radical protest and social alienation rife.

    Note: Due to the political nature of the discussion regarding this topic, the discussion thread is located in our Politics, Religion, Social Issues forum. All forum members and site visitors are welcome to read and follow the thread, but posting is limited to forum members with at least 100 posts.

    Article Link: Apple Fixed Bug in iOS 11 That Crashed Devices When Users Entered the Word 'Taiwan'
  2. sunapple macrumors 68000


    Jul 16, 2013
    The Netherlands
    It’s amazing how many things do work when you think about it. :confused:
  3. Prabas macrumors 6502a


    Sep 14, 2010
  4. lec0rsaire macrumors 65816

    Feb 23, 2017
    Blame Nixon for betraying Taiwan aka the ROC. What did we get supporting the PRC? The loss of our manufacturing base and non-stop IP theft. Now Taiwan, a democratic country, will be controlled by the PRC very soon.
  5. kstotlani macrumors 6502a

    Oct 27, 2006
    I tried reading the article a few times but not clear about a couple of things.

    1. Did some apple developer introduce this on purpose?
    2. Was apple aware of this and didn’t fix it till someone reported it publicly?
  6. autrefois macrumors 65816


    Oct 22, 2003
    Somewhere in the USA
    Very Orwellian. We won't even let you use the word Taiwan, it's a thoughtcrime.
  7. Kognito, Jul 11, 2018
    Last edited: Jul 11, 2018

    Kognito macrumors regular


    Jul 27, 2011
    The article isn't clear, I assume because it was written by someone who doesn't quite understand the technical background of this issue.

    1. No, it's a bug that causes the crash, but the bug wasn't introduced on purpose. What is interesting is that it prompted investigation into why this would cause a crash - baring in mind that most of the world's iPhone users have been using the Taiwanese flag emoji without issue. The investigation revealed that Apple had introduced code to remove the emoji that would run only if your region was set to China - but obviously hadn't tested it properly, hence the crash. The intended effect was to just silently remove the Taiwan Emoji flag from the system.

    2. No, I doubt they were aware of this. The fact that it only applied to Chinese users likely allowed this bug to slip by unnoticed by the folks in CA. Apple likely wouldn't want this publicised either, it looks bad on them from those outside China and those within China probably couldn't care any less.

    Sad though, that Apple is so willing to placate the PRoC government when they act quite the opposite elsewhere in the world. I guess money talks.
  8. VulchR macrumors 68020


    Jun 8, 2009
    No it won't. I think too many Americans remember WWII and how expensive in human lives and misery island-hopping was. The whole reason for Obama's pivot to the Pacific was to deter the PRC. I don't think even Trump would allow the PRC to invade the ROC unchallenged.
  9. nerdAFK macrumors 6502


    Apr 24, 2014
    Time cook (licking Chinese government's ass): "Oopsy..."
  10. timmyh, Jul 11, 2018
    Last edited: Jul 11, 2018

    timmyh Contributing Editor


    Mar 18, 2016
    Liverpool, UK
    Sorry you misunderstood my wording here. To say that the glitch was of Apple’s own making, wasn’t to imply that they introduced it ‘on purpose’. Rather, the code that Apple added to silently remove the emoji turned out to be cause of the bug.

    As mentioned, as soon as the researcher pointed out the issue, Apple corrected it, so that now it redacts the Taiwan emoji as originally intended.

    I've changed the wording for clarification.
  11. Schranke macrumors 6502a


    Apr 3, 2010
    Copenhagen, Denmark
    Why does apple keeps removing features from iOS??:(
  12. Shaun, UK Suspended

    Shaun, UK

    Mar 23, 2006
    They can take the money in China providing Cook never utters another word about human rights.
  13. I7guy macrumors P6


    Nov 30, 2013
    Gotta be in it to win it
    What features were removed?

Share This Page

12 July 11, 2018