Home
last modified time | relevance | path

Searched refs:fNameSize (Results 1 – 2 of 2) sorted by relevance

/external/libvncserver/libvncserver/tightvnc-filetransfer/
Dhandlefiletransferrequest.c324 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() argument
413 if((path = (char*) calloc(fNameSize, sizeof(char))) == NULL) { in HandleFileDownloadLengthError()
418 if((n = rfbReadExact(cl, path, fNameSize)) <= 0) { in HandleFileDownloadLengthError()
[all …]
Drfbtightproto.h300 uint16_t fNameSize; member
314 uint16_t fNameSize; member