Found a nice bug in IOS today, bricks your phone and kills the Simulator
pastie.org
pastie.org
The problem seems to be that springboard locks up in an endless loop, restarting the device wont help it because its still loading the offending notification from the cache.
Ahhh, I give up. Just try reading what I wrote before replying, mkay?
And in this case Apple's approval process could protect the consumer. They would never let something like this past the gates.
Also, since this issue is very trivial to trigger, it's not very difficult to hide the triggering mechanism in a malicious application in a way that even a reasonably thorough source code inspection would not necessarily spot it. See also: The Underhanded C Contest.
Then again I haven't personally bricked a device in a long time.
These days its getting harder and harder to brick devices, as bootloaders are becoming more and more advanced and more separate from the cores of the devices themselves. Once upon a time a faulty network cable could render your router forever inoperable due to a dropped byte in a firmware flash.
Today, my galaxy S phone has had some truly awful things done to it, including corruption of the supposedly sacred NVRAM data, and the USB bootloader has always faithfully come up after the button combo, ready to accept a new flash. It must run on totally separate hardware from the phone proper.
Just because it's harder to brick things doesn't mean the meaning of the word has changed. People are right to think this is a mis-statement.
Triggers the bug, its totally valid as well.
Can anybody explain what is special about this code?