Changeset 66828 in vbox for trunk/src/VBox/Devices/Network/slirp
- Timestamp:
- May 8, 2017 4:54:39 PM (8 years ago)
- Location:
- trunk/src/VBox/Devices/Network/slirp
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/bsd/kern/uipc_mbuf.c
r63015 r66828 1232 1232 int count, space; 1233 1233 1234 if (len > ( MHLEN - dstoff))1234 if (len > (int)(MHLEN - dstoff)) 1235 1235 goto bad; 1236 1236 MGET(m, M_DONTWAIT, n->m_type); -
trunk/src/VBox/Devices/Network/slirp/ip_icmpwin.c
r63283 r66828 381 381 reqsize = reply->DataSize; 382 382 if ( (reply->Options.Flags & IP_FLAG_DF) != 0 383 && sizeof(struct ip) + sizeof(struct icmp_echo) + reqsize > if_mtu)383 && sizeof(struct ip) + sizeof(struct icmp_echo) + reqsize > (size_t)if_mtu) 384 384 return; 385 385 -
trunk/src/VBox/Devices/Network/slirp/tftp.c
r64585 r66828 729 729 * than buffer for name storage. 730 730 */ 731 AssertReturnVoid( cbFileName < cbPayload731 AssertReturnVoid( (ssize_t)cbFileName < cbPayload 732 732 && cbFileName < TFTP_FILENAME_MAX /* current limit in tftp session handle */ 733 733 && cbFileName);
Note:
See TracChangeset
for help on using the changeset viewer.