sjsakib / cfviz

Visualizes user data from codeforces.com using the official API
http://cfviz.netlify.com
1.12k stars 70 forks source link

Limit the range of rating in user input #45

Open ShizuhaAki opened 1 year ago

ShizuhaAki commented 1 year ago

When virtual rating change was fed with -1e22 as the rating, an integer overflow occurred.

Rating given by the user should be restricted or "clamped" to a reasonable range.