Re: [Bug-wget] [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink resource/metaurl

2016-09-12 Thread Matthew White
On Sun, 11 Sep 2016 23:27:10 +0200 Giuseppe Scrivano wrote: > Matthew White writes: > > > diff --git a/src/main.c b/src/main.c > > index ac6ee2c..11ea86d 100644 > > --- a/src/main.c > > +++ b/src/main.c > > @@ -2136,10 +2136,11 @@ only if outputting

Re: [Bug-wget] [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink resource/metaurl

2016-09-11 Thread Giuseppe Scrivano
Matthew White writes: > diff --git a/src/main.c b/src/main.c > index ac6ee2c..11ea86d 100644 > --- a/src/main.c > +++ b/src/main.c > @@ -2136,10 +2136,11 @@ only if outputting to a regular file.\n")); >for (mres_ptr = mfile->resources; *mres_ptr;

Re: [Bug-wget] [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink resource/metaurl

2016-09-11 Thread Giuseppe Scrivano
Matthew White writes: > From cbed79d8394c8c0a74b2f65cb92d01178184e5fe Mon Sep 17 00:00:00 2001 > From: Matthew White > Date: Thu, 25 Aug 2016 15:26:18 +0200 > Subject: [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink >

[Bug-wget] [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink resource/metaurl

2016-09-10 Thread Matthew White
[Coverity Scan is ok, make syntax-check is ok, make check-valgrind is ok, contrib/check-hard is ok] This ensures that Metalink resources/metaurls are sorted only when necessary, preventing useless sorting and possible segmentation faults. The following description is verbatim from the patch: