summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@microsoft.com>2015-02-11 11:20:05 -0500
committerEdward Thomson <ethomson@edwardthomson.com>2015-02-12 22:54:47 -0500
commitec3b4d35f636c26d3c9b5703c3b7f87683800af8 (patch)
treea1d4330c4efaa1b7097f64f4243224e0581a5b2e /tests
parent2884cc42de8b20a58cec8488d014a853d47c047e (diff)
downloadlibgit2-ec3b4d35f636c26d3c9b5703c3b7f87683800af8.tar.gz
Use `size_t` to hold size of arrays
Use `size_t` to hold the size of arrays to ease overflow checking, lest we check for overflow of a `size_t` then promptly truncate by packing the length into a smaller type.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions