summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/dhcp-internal.h
diff options
context:
space:
mode:
authorPhilippe De Swert <philippedeswert@gmail.com>2015-02-08 22:21:51 +0200
committerLennart Poettering <lennart@poettering.net>2015-02-10 21:11:52 +0100
commit2e1a569b77f656500317cf2ca2382e9222ceab2f (patch)
tree1c96ea6ee0fd7228e4be4e3b769a0f326884094b /src/libsystemd-network/dhcp-internal.h
parent20760dcf5df7e253c21a51886cdb02dee612730b (diff)
libsystemd-network: Avoid potential NULL dereference in test-lldp
As a malloc0 could fail, doing a strncpy without checking could cause issues. Adding an assert should be good enough and in line with other similar routines in the code. Found with Coverity Fixes: CID#1261402
Diffstat (limited to 'src/libsystemd-network/dhcp-internal.h')
0 files changed, 0 insertions, 0 deletions