summaryrefslogtreecommitdiff
path: root/etc/llmnrd.service
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-02-09 09:12:03 +0100
committerTobias Klauser <tklauser@distanz.ch>2017-02-09 09:12:03 +0100
commita7b3d978a705dc160f373f685625e28c9a3022bb (patch)
tree3483b095fa00e985f750591eec5a9e07825d1cb5 /etc/llmnrd.service
parent67ce226df0153992385c65285a04da2526692579 (diff)
llmnr-query: Allocate receive buffer large enough
If an LLMNR response exceeds 128 bytes, it will get truncated. This leads to out-of-bounds read access during parsing and causes garbage data to be printed. Fix it by allocating the buffer large enough (according to RFC). Possible future improvment would be to consider the link MTU size to save some memory. Fixes #21 Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'etc/llmnrd.service')
0 files changed, 0 insertions, 0 deletions