diff options
author | Russell Belfer <rb@github.com> | 2013-01-21 13:19:41 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-01-21 13:19:41 -0800 |
commit | 965e4e2d3182eb179e928191abfd446c0b652867 (patch) | |
tree | 179cc82ce56e41065718c00ce99ed27b38ddb50c /tests-clar/diff/patch.c | |
parent | d47c6aabfe8301577a6e4067aacd9ed6782e4035 (diff) | |
download | libgit2-965e4e2d3182eb179e928191abfd446c0b652867.tar.gz |
Parse commit time as uint64_t to avoid overflow
The commit time is already stored as a git_time_t, but we were
parsing is as a uint32_t. This just switches the parser to use
uint64_t which will handle dates further in the future (and adds
some tests of those future dates).
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions