Searched refs:pathsize (Results 1 – 1 of 1) sorted by relevance
402 size_t pathsize; in tftp_open() local429 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open()430 tftpfile->path = malloc(pathsize); in tftp_open()439 res = snprintf(tftpfile->path, pathsize, "%s%s%s", in tftp_open()441 if (res < 0 || res > pathsize) { in tftp_open()