Skip to content
Commit 84a7c0b1 authored by Manuel Schölling's avatar Manuel Schölling Committed by David S. Miller
Browse files

dns_resolver: assure that dns_query() result is null-terminated



dns_query() credulously assumes that keys are null-terminated and
returns a copy of a memory block that is off by one.

Signed-off-by: default avatarManuel Schölling <manuel.schoelling@gmx.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 2346829e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment