diff options
| author | Michael Forney <mforney@mforney.org> | 2019-09-06 13:40:29 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-09-20 00:22:23 -0700 |
| commit | d96f51b843531c94cb229d0231814b58e56ddad4 (patch) | |
| tree | 7767bc33f04be9ab04bd304a0d7fb4858adc92e1 /pkg/nsd/patch/0003-Avoid-pointer-arithmetic-on-void.patch | |
| parent | 702d18b926c21f5b72ce81777d9f2693affc6b6d (diff) | |
nsd: Update to 4.2.2
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 9aa7153a..dfd635b6 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 31b2b7afa23a282fb9c960651571802d5779ac6b Mon Sep 17 00:00:00 2001 +From fcfbed8db1c746bd938ac6a548036af95b678341 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 48339c54..e90dc4f9 100644 +index 3865747a..89713236 100644 --- a/xfrd.c +++ b/xfrd.c -@@ -2463,7 +2463,7 @@ static void +@@ -2465,7 +2465,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 48339c54..e90dc4f9 100644 for(i=0; i<xfrd->nsd->child_count; i++) { xfrd->nsd->children[i].query_count += *p++; -- -2.22.0 +2.23.0 |
