strtol.c
3.54 KB
-
Add tests for `git__multiply_int64_overflow` · 5ab0736b
As it turns out, the implementation of `git__multiply_int64_overflow` is full of edge cases and tricky arithmetic. That means that it should have unit tests. As a result, a bug in `git__strntol64` was found (and fixed!) in clang+32-bit.
lhchavez committed