Searched refs:fNameSize (Results 1 – 2 of 2) sorted by relevance
329 void HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize);369 msg.fdr.fNameSize = Swap16IfLE(msg.fdr.fNameSize); in HandleFileDownloadRequest()372 if ((msg.fdr.fNameSize == 0) || in HandleFileDownloadRequest()373 (msg.fdr.fNameSize > (PATH_MAX - 1))) { in HandleFileDownloadRequest()378 HandleFileDownloadLengthError(cl, msg.fdr.fNameSize); in HandleFileDownloadRequest()382 if((n = rfbReadExact(cl, rtcp->rcft.rcfd.fName, msg.fdr.fNameSize)) <= 0) { in HandleFileDownloadRequest()391 rtcp->rcft.rcfd.fName[msg.fdr.fNameSize] = '\0'; in HandleFileDownloadRequest()413 HandleFileDownloadLengthError(rfbClientPtr cl, short fNameSize) in HandleFileDownloadLengthError() argument418 if((path = (char*) calloc(fNameSize, sizeof(char))) == NULL) { in HandleFileDownloadLengthError()423 if((n = rfbReadExact(cl, path, fNameSize)) <= 0) { in HandleFileDownloadLengthError()[all …]
300 uint16_t fNameSize; member314 uint16_t fNameSize; member