Changeset 73097 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Jul 12, 2018 9:06:33 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123672
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/pxping_win.c
r69500 r73097 218 218 bufsize += 16; /* whatever that is; empirically at least XP needs it */ 219 219 220 pong = (struct pong4 *)malloc(RT_ OFFSETOF(struct pong4, buf) + bufsize);220 pong = (struct pong4 *)malloc(RT_UOFFSETOF(struct pong4, buf) + bufsize); 221 221 if (RT_UNLIKELY(pong == NULL)) { 222 222 goto out; … … 502 502 bufsize += 16; 503 503 504 pong = (struct pong6 *)malloc(RT_ OFFSETOF(struct pong6, buf) + bufsize);504 pong = (struct pong6 *)malloc(RT_UOFFSETOF(struct pong6, buf) + bufsize); 505 505 if (RT_UNLIKELY(pong == NULL)) { 506 506 goto out;
Note:
See TracChangeset
for help on using the changeset viewer.