GothenburgBitFactory / GothenburgBitFactory/taskwarrior
Integer parsing should detect overflow
Open
- Dominant language
- C++
- Stars
- 6.1k
- Forks
- 423
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 11
Description
Currently, TW uses `strtol` to directly convert strings to integers. A wrapper version of this method should be developed, which would detect overflow or other parsing failures and throw exceptions, if appropriate.
Contributor guide
Assessment
This issue has not been assessed yet.