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