Re: [PATCH 2/2] Fix off-by-one error.

2024-11-10 Thread Collin Funk
Hi, Collin Funk writes: > I submitted these two patches a few months ago, but it seems they got > lost. It would also be nice to revisit a small patch I wrote a few months ago to ignore "LIBARCHIVE.creationtime" headers without annoying error spam [1]: diff --git a/src/xheader.c b/src/xheader.

Re: [PATCH 2/2] Fix off-by-one error.

2024-11-05 Thread Martin Simmons
> On Mon, 04 Nov 2024 18:13:38 -0800, Collin Funk said: > > Patch 2 fixes an off-by-one error that can be seen with address > sanitizer. > diff --git a/src/common.h b/src/common.h > index df87478c..c5df79f6 100644 > --- a/src/common.h > +++ b/src/common.h > @@ -699,7 +699,7 @@ char *timetostr

[PATCH 2/2] Fix off-by-one error.

2024-11-04 Thread Collin Funk
42 -0700 Subject: [PATCH 2/2] Fix off-by-one error. * src/common.h (TIMESPEC_STRSIZE_BOUND): Account for NUL. --- src/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.h b/src/common.h index df87478c..c5df79f6 100644 --- a/src/common.h +++ b/src/common.h