diff options
-rw-r--r-- | src/libsystemd-network/test-dhcp-option.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/test-dhcp-option.c b/src/libsystemd-network/test-dhcp-option.c index 7a0fac8d33..63cdc7aa06 100644 --- a/src/libsystemd-network/test-dhcp-option.c +++ b/src/libsystemd-network/test-dhcp-option.c @@ -115,6 +115,7 @@ static DHCPMessage *create_message(uint8_t *options, uint16_t optlen, size_t len = sizeof(DHCPMessage) + optlen; message = malloc0(len); + assert_se(message); if (options && optlen) memcpy(&message->options, options, optlen); |