diff options
Diffstat (limited to 'main/ipfw-grsec/ipfw-kmod-dereffix.patch')
-rw-r--r-- | main/ipfw-grsec/ipfw-kmod-dereffix.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/main/ipfw-grsec/ipfw-kmod-dereffix.patch b/main/ipfw-grsec/ipfw-kmod-dereffix.patch deleted file mode 100644 index 168fc70e18..0000000000 --- a/main/ipfw-grsec/ipfw-kmod-dereffix.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- ipfw3-2012.orig/sys/netinet/ipfw/ip_dummynet.c -+++ ipfw3-2012/sys/netinet/ipfw/ip_dummynet.c -@@ -635,7 +635,7 @@ - fs->sched->fp->free_fsk(fs); - fs->sched = NULL; - if (flags & DN_DELETE_FS) { -- bzero(fs, sizeof(fs)); /* safety */ -+ bzero(fs, sizeof(*fs)); /* safety */ - free(fs, M_DUMMYNET); - dn_cfg.fsk_count--; - } else { ---- ipfw3-2012.orig/kipfw/ipfw2_mod.c -+++ ipfw3-2012/kipfw/ipfw2_mod.c -@@ -218,7 +218,7 @@ - struct thread t; - int ret = EINVAL; - -- memset(s, 0, sizeof(s)); -+ memset(s, 0, sizeof(*s)); - s->sopt_name = cmd; - s->sopt_dir = dir; - s->sopt_valsize = len; |