Searched refs:fNameSize (Results 1 – 2 of 2) sorted by relevance
324 void HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize);364 msg.fdr.fNameSize = Swap16IfLE(msg.fdr.fNameSize); in HandleFileDownloadRequest()367 if ((msg.fdr.fNameSize == 0) || in HandleFileDownloadRequest()368 (msg.fdr.fNameSize > (PATH_MAX - 1))) { in HandleFileDownloadRequest()373 HandleFileDownloadLengthError(cl, msg.fdr.fNameSize); in HandleFileDownloadRequest()377 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) { in HandleFileDownloadRequest()386 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0'; in HandleFileDownloadRequest()408 HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize) in HandleFileDownloadLengthError() argument413 if((path = (char*) calloc(fNameSize, sizeof(char))) == NULL) { in HandleFileDownloadLengthError()418 if((n = rfbReadExact(cl, path, fNameSize)) <= 0) { in HandleFileDownloadLengthError()[all …]
300 uint16_t fNameSize; member314 uint16_t fNameSize; member