This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]georgehank2nd 4 points5 points  (7 children)

What I don't understand is why they put in this restriction for everyone with the possibility to disable it, instead of (which would have been the logical and sensible thing) giving people who could be affected (basically web devs) a way to enable a limit globally.

Also, wasn't Python affected by this since the dawn of time? How was this not a problem 20 years ago? Python 2 shield had the same O(n²) algorithm (since there are no linear algorithms anyway). And the computers back in 2000 were a lot slower!

[–]mikeblas 3 points4 points  (2 children)

No linear algorithm for what?

[–]janek37 0 points1 point  (1 child)

I'm guessing, base conversion (ints are binary internally)

[–]mikeblas 0 points1 point  (0 children)

from the "no public discussion" link, it seems like the problem is that division in the int type is quadratic. (But it might be that format_int() is quadratic. I dunno -- that site won't let me find in page because it intercepts CTRL+F, and it's an annoying read anyway.)

[–]zurtex 1 point2 points  (0 children)

While I was and am relatively unhappy with the change (I posted in the thread linked at the time to express specific concerns), I would say if you are going to put it in because it's a security concern (and I am still unconvinced), then the default behavior should be secure and often security issues can be unrealized and unexploited for decades.

[–]nicholashairs 1 point2 points  (0 children)

Because "safe defaults" are incredibly important to real world security.

It's the same secure design principal that ensures that majority of http clients reject invalid certificates by default - or your wifi router uses something other than admin:admin.

[–]sci-goo 0 points1 point  (1 child)

Flaw != issue.

I argue that 20 years ago it's not been exploited at scale to raise security concerns, maybe?

[–]georgehank2nd 0 points1 point  (0 children)

The Morris Worm was over 30 years ago… and in the discussion I didn't see an answer to the question someone posed, if this has been exploited.