News for hackers. Stuff that matters.
Re:How a Single Line Of Code Could Brick Your iPhone by mook on Sunday April 27, 2025 @11:19PM (#43817183)
More importantly, the single line only forces a reboot; even if we consider needing external fixes to be a brick, the title is still incorrect.
Re:How a Single Line Of Code Could Brick Your iPhone by SamBam on Sunday April 27, 2025 @11:32PM (#43817250)
It doesn't just force a reboot, it forces a never-ending loop of reboots, rebooting each time you reboot it.

> The result is a device that’s soft-bricked, requiring a device erase and restore from backup.

Requiring a device erase isn't a full brick, no, but it's still pretty serious.

Re:How a Single Line Of Code Could Brick Your iPhone by mrunkel on Monday April 28, 2025 @02:23AM (#43818196)
> Requiring a device erase isn't a full brick, no, but it's still pretty serious.

He totally murdered that guy!

What? Why would you say murdered, he only gave him a black eye?

I know, but that's still pretty serious.

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.