diff options
| author | Michael Forney <mforney@mforney.org> | 2019-11-25 20:39:12 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-11-25 20:42:24 -0800 |
| commit | d3c5785b0ee551ba6eda42734b068f8a179983dd (patch) | |
| tree | b135c3a3532514d1f566f1032683c6fc13ddcb5c /pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch | |
| parent | 18f42af008bf8a3ffb0cf205b2b4f0cbe3c23da5 (diff) | |
nsd: Update to 4.2.3
Diffstat (limited to 'pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch')
| -rw-r--r-- | pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch b/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch index dfd635b6..5a8e77c3 100644 --- a/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch +++ b/pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch @@ -1,4 +1,4 @@ -From fcfbed8db1c746bd938ac6a548036af95b678341 Mon Sep 17 00:00:00 2001 +From ecde6ced1a7d7649510c5428646e2a96477f6c6f Mon Sep 17 00:00:00 2001 From: Michael Forney <mforney@mforney.org> Date: Sun, 16 Jun 2019 23:17:47 -0700 Subject: [PATCH] Avoid pointer arithmetic on `void *` @@ -162,10 +162,10 @@ index 8d7ee137..3ee98648 100644 /** MAX 2**x exponent of alloced chunks, for 1Mbytes. The smallest * chunk is 16bytes (8preamble+8data), so 0-3 is unused. */ diff --git a/xfrd.c b/xfrd.c -index 3865747a..89713236 100644 +index bd07d797..82551907 100644 --- a/xfrd.c +++ b/xfrd.c -@@ -2465,7 +2465,7 @@ static void +@@ -2466,7 +2466,7 @@ static void xfrd_process_stat_info_task(xfrd_state_type* xfrd, struct task_list_d* task) { size_t i; @@ -175,5 +175,5 @@ index 3865747a..89713236 100644 for(i=0; i<xfrd->nsd->child_count; i++) { xfrd->nsd->children[i].query_count += *p++; -- -2.23.0 +2.24.0 |
