bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Matthew White
Subject: [Bug-wget] [PATCH 19/25] Bugfix: Prevent sorting of unallocated metalink resource/metaurl
Date: Sat, 10 Sep 2016 12:59:13 +0200

[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:
-----
Trying to sort the resources/metaurls of a metalink when there is only
one element allocated and no tail, or no elements at all, will lead to
a segmentation fault.

Also, sorting the resources/metaurls of a metalink when there is only
one element allocated and a NULL tail is useless.
-----

Regards,
Matthew

-- 
Matthew White <address@hidden>

Attachment: 0019-Bugfix-Prevent-sorting-of-unallocated-metalink-resou.patch
Description: Text Data

Attachment: pgp1b0bqwZ8Rv.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]