Re: [PATCH libnftnl] Fix string length calculations

2016-07-05 Thread Pablo Neira Ayuso
On Sun, Jul 03, 2016 at 12:13:18PM +0200, Carlos Falgueras García wrote: > >>diff --git a/src/trace.c b/src/trace.c > >>index d8f561d..1a50390 100644 > >>--- a/src/trace.c > >>+++ b/src/trace.c > >>@@ -165,13 +165,13 @@ const void *nftnl_trace_get_data(const struct > >>nftnl_trace *trace, > >>

Re: [PATCH libnftnl] Fix string length calculations

2016-07-03 Thread Carlos Falgueras García
On 02/07/16 08:54, Pablo Neira Ayuso wrote: On Fri, Jul 01, 2016 at 06:11:43PM +0200, Carlos Falgueras García wrote: These lengths must be one character longer to take account the null character Please, place the change for src/set.c in this patch so I only need to apply one patch. I will sen

Re: [PATCH libnftnl] Fix string length calculations

2016-07-01 Thread Pablo Neira Ayuso
On Fri, Jul 01, 2016 at 06:11:43PM +0200, Carlos Falgueras García wrote: > These lengths must be one character longer to take account the null > character Please, place the change for src/set.c in this patch so I only need to apply one patch. Another comment below. > Signed-off-by: Carlos Falgue

[PATCH libnftnl] Fix string length calculations

2016-07-01 Thread Carlos Falgueras García
These lengths must be one character longer to take account the null character Signed-off-by: Carlos Falgueras García --- src/chain.c| 2 +- src/rule.c | 2 +- src/set_elem.c | 2 +- src/table.c| 2 +- src/trace.c| 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff -