News for hackers. Stuff that matters.
Re:Line Breaking (2014) by userbinator on Thursday July 19, 2018 @07:34AM (#17565367)
...in the same way that bubblesort is a "non-problem" with small sizes?

The problem is that in the real world, especially with untrusted arbitrary input, you can easily cause these algorithms to take maximum time. Combine that with the typical (in)efficiency of HLLs and it's a potential for DoS. See the exponential backtracking behaviour of some regex engines for a related example.

Re:Line Breaking (2014) by idiocyreigns on Thursday July 19, 2018 @09:55AM (#17566259)
It will always be important to sanitize and validate your input.
Re:Line Breaking (2014) by wongarsu on Thursday July 19, 2018 @04:16PM (#17569857)
Sure, but that doesn't mean we need to introduce more classes of problems we have to check against. Designing algorithms to handle all cases efficiently is often better than trying to filter everything that triggers cases the lazy algorithms can't handle