News for hackers. Stuff that matters.
Re:The Worst Bug Ever–Randomly Losing Your Best Players by Someone on Sunday May 01, 2022 @02:10AM (#31222635)
FTA: “Well, Apple defines that, but I guess that’s kind of a pain to figure out and it’s just easier to try to decode and see what happens! YOLO!”

From what I understand (also FTA: “The Unity IAP team found themselves having to harden their code against random data”) the fix wasn’t to read the documentation and do the right thing, but to go deeper in on “if we step carefully through this minefield, we probably will survive”.

And Unity’s customer is happy with that!

Re:The Worst Bug Ever–Randomly Losing Your Best Players by karmakaze on Sunday May 01, 2022 @10:43AM (#31225399)
> [...] harden their code against random data [...]. It’s a hard problem to correctly parse complex structures that are incorrectly formatted. This is what led to unhandled exceptions and infinite loops.

I was expecting something much more interesting from the title, or mere posting of the story. It seems it was picked because of the cost/impact of the bug rather than the technical surprise/complexity.