summaryrefslogtreecommitdiff
path: root/src/commit.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2013-12-13 12:41:22 +0100
committerVicent Marti <tanoku@gmail.com>2013-12-13 12:41:22 +0100
commit437f7d69b22324d20fe833aa53119885733029c2 (patch)
tree37721b5fecf60604a157085a3a1c979531b0bda8 /src/commit.c
parentce33645ff32d68dfd89867468f58fd9c245c26ff (diff)
downloadlibgit2-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