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 to a regular file.\n"));
> >
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; mres_ptr++)
>
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
> resource/metaurl
>
> * src/main.c (main): Sort metalink resourc
[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:
--