sd-dhcp-server: clear buffer before receive
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Jun 2024 15:48:56 +0000 (00:48 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 11 Jun 2024 23:06:46 +0000 (00:06 +0100)
commit40f9fa0af4c3094d93e833e62f7e301cd453da62
treece3d2c2c93cc5b718681363db88e1f4da54f0b52
parent1ea7bda77f06718fd8396d420b0cb509006b9598
sd-dhcp-server: clear buffer before receive

I do not think this is necessary, but all other places in
libsystemd-network we clear buffer before receive. Without this,
Coverity warns about use-of-uninitialized-values.
Let's silence Coverity.

Closes CID#1469721.
src/libsystemd-network/sd-dhcp-server.c