Home
last modified time | relevance | path

Searched refs:newn (Results 1 – 1 of 1) sorted by relevance

/external/openssh/openbsd-compat/
Dglob.c800 size_t newn, len; local
805 newn = 2 + pglob->gl_pathc + pglob->gl_offs;
808 newn >= INT_MAX ||
809 SIZE_MAX / sizeof(*pathv) <= newn ||
810 SIZE_MAX / sizeof(*statv) <= newn) {
812 for (i = pglob->gl_offs; i < (ssize_t)(newn - 2); i++) {
830 pathv = realloc(pglob->gl_pathv, newn * sizeof(*pathv));
842 statv = realloc(pglob->gl_statv, newn * sizeof(*statv));
884 (newn * sizeof(*pathv)) + limitp->glim_malloc >