News for hackers. Stuff that matters.
Re:SetBigTimeout by n2d4 on Friday October 18, 2024 @12:58PM (#41881265)
The problem is the validation. You'd expect you just have to validate a lower bound, but you also have to validate an upper bound.
Re:SetBigTimeout by leptons on Friday October 18, 2024 @06:36PM (#41884117)
It's user input, you have to validate all the bounds, and filter out whatever else might cause problems. Not doing so is a a problem with the programmer, not setTimeout.