Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix infinite loop when the input of binarySearch is NaN
`utils.ipStr2Num` returns `NaN` if the `stringifiedIp` is a simple string, i.e.) `a`, it leads to infinite loop. This infinite loop will consume system resources and can be used to create a denial of service attack
- Loading branch information