diff options
author | Vicent Marti <tanoku@gmail.com> | 2013-12-13 12:41:22 +0100 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2013-12-13 12:41:22 +0100 |
commit | 437f7d69b22324d20fe833aa53119885733029c2 (patch) | |
tree | 37721b5fecf60604a157085a3a1c979531b0bda8 /src/commit.c | |
parent | ce33645ff32d68dfd89867468f58fd9c245c26ff (diff) | |
download | libgit2-437f7d69b22324d20fe833aa53119885733029c2.tar.gz |
pool: Correct overflow checks
Ok, scrap the previous commit. This is the right overflow check that
takes care of 64 bit overflow **and** 32-bit overflow, which needs to be
considered because the pool malloc can only allocate 32-bit elements in
one go.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions