From 2a541655e262d021b2b56a31743d59b272cc0b3c Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 17:41:01 +0000 Subject: Apply patch 0003-xtables-restore-Avoid-access-of-uninitialized-data.patch patch_name: 0003-xtables-restore-Avoid-access-of-uninitialized-data.patch present_in_specfile: true location_in_specfile: 3 --- diff --git a/iptables/xtables-restore.c b/iptables/xtables-restore.c index dd907e0..63cc15c 100644 --- a/iptables/xtables-restore.c +++ b/iptables/xtables-restore.c @@ -281,7 +281,7 @@ void xtables_restore_parse(struct nft_handle *h, const struct nft_xt_restore_parse *p) { struct nft_xt_restore_state state = {}; - char preload_buffer[PREBUFSIZ] = {}, buffer[10240], *ptr; + char preload_buffer[PREBUFSIZ] = {}, buffer[10240] = {}, *ptr; if (!h->noflush) { nft_fake_cache(h);