summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-lease-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-26 19:18:11 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-26 20:41:42 +0200
commit43f447b121b38c01a7c5626a51cc571a822250b8 (patch)
treeaba9099f05dad97784ab515e70217676bbc7a689 /src/libsystemd-network/dhcp-lease-internal.h
parent1ac608c9ccb6b69a6bc8a458e10a05e0fc9a8301 (diff)
dhcp: be more careful when parsing strings from DHCP packets
Let's make sure there's no embedded 0 byte. Also, let's reset the string if the length is zero.
Diffstat (limited to 'src/libsystemd-network/dhcp-lease-internal.h')
0 files changed, 0 insertions, 0 deletions