diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2015-02-11 11:20:05 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2015-02-12 22:54:47 -0500 |
| commit | ec3b4d35f636c26d3c9b5703c3b7f87683800af8 (patch) | |
| tree | a1d4330c4efaa1b7097f64f4243224e0581a5b2e /src/util.h | |
| parent | 2884cc42de8b20a58cec8488d014a853d47c047e (diff) | |
| download | libgit2-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 'src/util.h')
0 files changed, 0 insertions, 0 deletions
