News for hackers. Stuff that matters.
Re:Night of a cascading failure by zbentley on Monday January 21, 2019 @06:48PM (#18964742)
I agree with you, but it doesn't sound like it would have helped things in this domain, as a negative index into a string (if they used signed ints and subtracted larger values) would have produced (according to the spec, undefined) values that were likely just as wrong.
Re:Night of a cascading failure by lostmyoldone on Monday January 21, 2019 @07:20PM (#18964905)
There was a check for a negative difference before the array access, so signed arithmetic would have hit that check. Well, at least for any reasonable definition of signed arithmetic.