Live data from Hacker News

A one in a million bug in Switch kernel

gist.githubusercontent.com

1–10 of 95 posts

Re: A one in a million bug in Switch kernel

#3

offtopic: I really wish reading preformatted text files on ios safari was good.. I have to export the file to Books in order to read it properly

Firefox reader mode is nice for taking various webpages, whether it's a news article with bloated JS, a wiki page, simple plaintext etc and giving it a common presentation that you can configure to your liking.

No clue if that's a solution for you on iOS but it's a great feature.

Re: A one in a million bug in Switch kernel

#5
> This bug has existed since day zero, which means that it took 5 years (!) for Nintendo to track it down. Credits to whoever nameless employee at Nintendo found this bug! The attention to detail is incredible. And how do you even find / debug a bug like this? Makes you think, do Linux, Windows and Mac handle this properly? Honestly, I doubt it!

Considering the various kernel-level races in mainstream kernels (*BSD, Darwin, Linux and NT), I actually doubt that these kinds of bug are fully eliminated (only fixed in cases where such race has security implications).

Re: A one in a million bug in Switch kernel

#6

offtopic: I really wish reading preformatted text files on ios safari was good.. I have to export the file to Books in order to read it properly

Firefox reader mode is nice for taking various webpages, whether it's a news article with bloated JS, a wiki page, simple plaintext etc and giving it a common presentation that you can configure to your liking. No clue if that's a solution for you on iOS but it's a great feature.

> No clue if that's a solution for you on iOS but it's a great feature.

Unfortunately, iOS browsers tends to be just reskins of Safari (because it's required by Apple).

Re: A one in a million bug in Switch kernel

#7
>Makes you think, do Linux, Windows and Mac handle this properly? Honestly, I doubt it!

Context switches, idle state transitions, etc tend to be fairly delicately handled as a common cause of CVEs and Heisenbugs. I'm sure there's still plenty of bugs but more attention ends up being paid to these things on general purpose operating systems. More eyeballs on the code, more security researchers, more hardware variants to expose things that were thought to be fine. Also fuzzing.

Re: A one in a million bug in Switch kernel

#9

offtopic: I really wish reading preformatted text files on ios safari was good.. I have to export the file to Books in order to read it properly

I just tried it out on iOS in Safari's reader mode, and it looks quite good. What don't you like about the output?

Re: A one in a million bug in Switch kernel

#10

offtopic: I really wish reading preformatted text files on ios safari was good.. I have to export the file to Books in order to read it properly

iOS Firefox - https://i.imgur.com/1f5PElQ.jpeg

iOS Safari Reader mode - https://i.imgur.com/nDnBSAM.jpeg

iOS Safari - https://i.imgur.com/AhtWv9G.jpeg

Post reply on HN