News for hackers. Stuff that matters.
Re:How a Single Line Of Code Could Brick Your iPhone by mook on Monday April 28, 2025 @03:13AM (#43818495)
No, the _single line_ part forces a single reboot. The never-ending loop requires setting up a widget, so that's more than one line.
Re:How a Single Line Of Code Could Brick Your iPhone by internetter on Monday April 28, 2025 @09:34AM (#43821381)
I think you skimmed too fast. Widgets, allegedly, are eagerly evaluated when an app is opened, and the system keeps trying failed attempts:

> After restarting, as soon as SpringBoard was initialized, the extension would be woken up by the system, since it had failed to produce any widget entries before, which would then start the process all over again.

Re:How a Single Line Of Code Could Brick Your iPhone by mook on Monday April 28, 2025 @11:16AM (#43822428)
The article claims that they had to manually cause the widget to crash so that the result doesn't get cached, right? So that's at least one line to trigger the reboot, one line (likely more) to register as a widget, and one to crash it.
Re:How a Single Line Of Code Could Brick Your iPhone by Ghoelian on Monday April 28, 2025 @11:02AM (#43822255)
The single line part also requires you first set up an app to execute that code as well.