summaryrefslogtreecommitdiff
path: root/llmnr.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-02-08 14:24:07 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-02-08 14:24:07 +0100
commit4a1e982b7733ac84936ff4f7d992dbea18dd0076 (patch)
treeafb40968fc3b815338cad780e46f1562545acc73 /llmnr.h
parent884cb12992c823b7b7d57f2b4887117afc7899bc (diff)
llmnr-query: Account for terminating NULL byte in address string buffer
If the IPv6 address in the reply is 48 bytes long, inet_ntop() would overflow the addr buffer. Account for the terminating NULL byte. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'llmnr.h')
0 files changed, 0 insertions, 0 deletions