Searched refs:pathsize (Results 1 – 1 of 1) sorted by relevance
479 size_t pathsize; in tftp_open() local520 pathsize = (strlen(rootpath) + 1 + strlen(path) + 1) * sizeof(char); in tftp_open()521 tftpfile->path = malloc(pathsize); in tftp_open()531 res = strlcpy(tftpfile->path, path, pathsize); in tftp_open()533 res = snprintf(tftpfile->path, pathsize, "%s%s%s", in tftp_open()535 if (res < 0 || res > pathsize) { in tftp_open()