deps/libgit2/src/array.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 2 | 8 | 25.0 |
line | true | false | branch |
---|---|---|---|
51 | 10 | 0 | if (a->size < 8) { |
54 | 0 | 0 | if (GIT_MULTIPLY_SIZET_OVERFLOW(&new_size, a->size, 3)) |
0 | 0 | if (GIT_MULTIPLY_SIZET_OVERFLOW(&new_size, a->size, 3)) | |
59 | 0 | 10 | if ((new_array = git__reallocarray(a->ptr, new_size, item_size)) == NULL) |