Currently, if an out-of-bounds value for the underlying int64_t type is passed to ArgsManager::GetIntArg() (e.g. -maxtipage=9999999999999999), the returned value will silently saturate (similar to the specification of strtoll()). Instead it would be better to detect this out-of-range value and throw an InitError during initialization, explicitly warning the user.
See also: #23841
Useful skills:
Basic C++
Want to work on this issue?
For guidance on contributing, please read CONTRIBUTING.md before opening your pull request.