mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-11-06 15:51:41 +00:00
Fix crash in DHCPv6 information-request handler.
This commit is contained in:
1 parent
dd1721c799
commit
4038ae2005
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -1027,7 +1027,7 @@ static int dhcp6_no_relay(int msg_type, struct in6_addr *link_address, struct dh
|
||||
{
|
||||
/* We can't discriminate contexts based on address, as we don't know it.
|
||||
If there is only one possible context, we can use its tags */
|
||||
if (context && !context->current)
|
||||
if (context && context->netid.net && !context->current)
|
||||
{
|
||||
context->netid.next = NULL;
|
||||
context_tags = &context->netid;
|
||||
|
||||
Reference in new issue
Block a user