Changeset 56826 in vbox
- Timestamp:
- Jul 6, 2015 5:07:36 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/slirp/dnsproxy/dnsproxy.c
r56292 r56826 535 535 } 536 536 537 /* find corresponding query (XXX: but see below) */ 537 538 query = hash_find_request(pData, *((unsigned short *)buf)); 538 539 539 /* find corresponding query */540 540 if (query == NULL) 541 541 { … … 548 548 return; 549 549 } 550 551 /* 552 * XXX: The whole hash thing is pretty meaningless right now since 553 * we use a separate socket for each request, so we already know 554 * the answer. 555 * 556 * If the answer is not what we expect it to be, then it's 557 * probably a stray or malicious reply and we'd better not free a 558 * query owned by some other socket - that would cause 559 * use-after-free later on. 560 */ 561 if (query != so->so_timeout_arg) 562 return; 550 563 551 564 so->so_timeout = NULL;
Note:
See TracChangeset
for help on using the changeset viewer.