mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-07 01:13:49 +00:00
b20a5e9a4d
This is a more concise approach and guarantees there is no time window where the struct is uninitialized. Generated using the following semantic patch: @@ type T; identifier X; @@ - T X; + T X = { 0 }; ... when exists ( - memset(&X, 0, sizeof(X)); | - memset(&X, 0, sizeof(T)); ) Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Claudio Fontana <cfontana@suse.de> |
||
---|---|---|
.. | ||
xml | ||
meson.build | ||
nwfilter_dhcpsnoop.c | ||
nwfilter_dhcpsnoop.h | ||
nwfilter_driver.c | ||
nwfilter_driver.h | ||
nwfilter_ebiptables_driver.c | ||
nwfilter_ebiptables_driver.h | ||
nwfilter_gentech_driver.c | ||
nwfilter_gentech_driver.h | ||
nwfilter_learnipaddr.c | ||
nwfilter_learnipaddr.h | ||
nwfilter_tech_driver.h | ||
virtnwfilterd.init.in | ||
virtnwfilterd.service.in |