mirror of
https://github.com/yarrick/iodine.git
synced 2024-09-07 03:27:00 +00:00
Fix NULL pointer deref
This commit is contained in:
parent
2d90aaaf30
commit
58dac78bd8
|
@ -1589,8 +1589,10 @@ tunnel_bind(int bind_fd, int dns_fd)
|
|||
|
||||
/* Get sockaddr from id */
|
||||
fw_query_get(id, &query);
|
||||
if (!query && debug >= 2) {
|
||||
fprintf(stderr, "Lost sender of id %u, dropping reply\n", (id & 0xFFFF));
|
||||
if (!query) {
|
||||
if (debug >= 2) {
|
||||
fprintf(stderr, "Lost sender of id %u, dropping reply\n", (id & 0xFFFF));
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue