kvrocks icon indicating copy to clipboard operation
kvrocks copied to clipboard

Replace std::stol with ParseInt.

Open tanruixiang opened this issue 3 years ago • 0 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

Motivation

There are many places in the code that use std::stol. Replace std::stol with ParseInt. Use ParseInt instead of std::stol for safer parsing.

Solution

No response

Are you willing to submit a PR?

  • [X] I'm willing to submit a PR!

tanruixiang avatar Sep 19 '22 15:09 tanruixiang