Changeset 42013 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- Jul 4, 2012 6:08:25 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/tftp.c
r42012 r42013 132 132 DECLINLINE(int) tftpSecurityFilenameCheck(PNATState pData, PCTFTPSESSION pcTftpSession) 133 133 { 134 int cbSessionFilename = 0;134 size_t cbSessionFilename = 0; 135 135 int rc = VINF_SUCCESS; 136 136 AssertPtrReturn(pcTftpSession, VERR_INVALID_PARAMETER); … … 274 274 int rc = VINF_SUCCESS; 275 275 char *pszTftpRRQRaw; 276 int idxTftpRRQRaw = 0;276 size_t idxTftpRRQRaw = 0; 277 277 int cbTftpRRQRaw = 0; 278 278 int fWithArg = 0; … … 415 415 { 416 416 char aszSessionFileName[TFTP_FILENAME_MAX]; 417 int cbSessionFileName;417 size_t cbSessionFileName; 418 418 int rc = VINF_SUCCESS; 419 419 cbSessionFileName = RTStrPrintf(aszSessionFileName, TFTP_FILENAME_MAX, "%s/%s", … … 547 547 { 548 548 char aszOptionBuffer[256]; 549 int iOptLength = 0;549 size_t iOptLength = 0; 550 550 int rc = VINF_SUCCESS; 551 551 int cbMBufCurrent = pMBuf->m_len; … … 689 689 uint8_t *pu8Payload = NULL; 690 690 int cbPayload = 0; 691 int cbFileName = 0;691 size_t cbFileName = 0; 692 692 int rc = VINF_SUCCESS; 693 693
Note:
See TracChangeset
for help on using the changeset viewer.