]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit
common: Allow hwaddr_ntoa to print an empty string
authorRoy Marples <roy@marples.name>
Mon, 3 Jul 2023 12:11:05 +0000 (13:11 +0100)
committerRoy Marples <roy@marples.name>
Wed, 19 Jul 2023 13:29:50 +0000 (14:29 +0100)
commitc4f6e7d8f2b6cbbf6f0595779c9d3ca95352b86d
treed32ae528ccf9ccc46428dd7e7ba04f16d4c9b968
parent9df3cac94875bb67f5a3cc481835ec1c1ac79ca3
common: Allow hwaddr_ntoa to print an empty string

This fixes #218 where we get a zero hardware address length in
an ARP packet or a length that overflows the string buffer.
src/common.c