summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-08-02 16:45:07 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-08-02 16:45:07 +0200
commit5939d09f16547ab935d8e3699688ed1817471da5 (patch)
tree5c63ef73d5beb3818d108f20f5261b2dce5c1b2c /README
parentde09cf982772733945dd853bc9a54b7b275af705 (diff)
llmnrd: Use MAXHOSTNAMELEN for hostname buffer and zero-terminate string
Use MAXHOSTNAMELEN defined in sys/param.h to determine the size of the hostname buffer to allocate. Also make sure the string is properly zero-terminated in all cases, as in some cases it might be undefined whether a truncated string is properly terminated. Note: Also remove a TODO comment, as watching for hostname changes at runtime is outside the scope of llmnrd (also, avahi behaves the same). Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions
_rate(). Reported-by: Felix Fietkau <nbd@nbd.name> Fixes: 34db70b92fae ("rt2x00: add copy of clk for soc devices") Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/usb/serial/Makefile-keyspan_pda_fw')