<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/51e456c154fbe19309c8da2f83205bff9de573a3">https://github.com/macports/macports-ports/commit/51e456c154fbe19309c8da2f83205bff9de573a3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 51e456c154f yara: update to 4.1.0
</span>51e456c154f is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 51e456c154fbe19309c8da2f83205bff9de573a3
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Fri Apr 30 15:18:37 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> yara: update to 4.1.0
</span>---
security/yara/Portfile | 23 ++-
security/yara/files/patch-loop_declarations.diff | 186 -----------------------
2 files changed, 11 insertions(+), 198 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/yara/Portfile b/security/yara/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index dec11af7e69..6540eec13f8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/yara/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/yara/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup github 1.0
</span> PortGroup legacysupport 1.0
legacysupport.newest_darwin_requires_legacy 10
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup VirusTotal yara 4.0.5 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup VirusTotal yara 4.1.0 v
</span> revision 0
categories security
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +20,9 @@ long_description \
</span> YARA is a tool aimed at helping malware researchers to identify and \
classify malware samples.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3f86fd4e72c9655c60b32459c47e541703d483ef \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 274a53e581060ccb16228c709df005c6bec1b1ec8f183e0ceb2a5cba729a273b \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 890468
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8b9143b97a35dda2bde0a63cd5fa2796f22dd79b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b60985ab0c2bd324f6bf98b0a6450e6ba394ac63a163d2525150cd669623579f \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 936138
</span>
if {${subport} eq ${name}} {
depends_build port:autoconf \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,8 +36,6 @@ if {${subport} eq ${name}} {
</span> port:pcre \
port:protobuf-c
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patchfiles patch-loop_declarations.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> pre-configure {
reinplace "s|/usr/local/opt/openssl/include|${prefix}/include/openssl|" ${worksrcpath}/configure.ac
reinplace "s|/usr/local/opt/openssl/lib|${prefix}/lib|" ${worksrcpath}/configure.ac
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,9 +51,10 @@ if {${subport} eq ${name}} {
</span> reinplace "s|\t\$(AM_CFLAGS) \$(CFLAGS)|\t\$(AM_CFLAGS) \$(CPPFLAGS)|" ${worksrcpath}/Makefile
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cflags-append -std=gnu89
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cflags-append -std=gnu99
</span> configure.args-append --with-crypto \
--disable-silent-rules \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --disable-dependency-tracking \
</span> --enable-cuckoo \
--enable-magic
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +62,7 @@ if {${subport} eq ${name}} {
</span> test.target check
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set python.versions {27 35 36 37 38 39}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python.versions {37 38 39}
</span>
foreach v ${python.versions} {
set python.version ${v}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,16 +71,16 @@ foreach v ${python.versions} {
</span> set python.prefix ${frameworks_dir}/Python.framework/Versions/${python.branch}
subport py${python.version}-${name} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- github.setup VirusTotal yara-python 4.0.4 v
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ github.setup VirusTotal yara-python 4.1.0 v
</span> revision 0
categories security python
description ${name} bindings for python ${python.branch}
long_description Malware identification and classification tool. \
This subport provides bindings for python ${python.branch}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 44ecc51f2069b7b3da9ceece0f9dca31bcaff831 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 9e955b7b6c5146e8684fb31b32cb077c59d099e67bbe1889ddaeef6e435439ff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 32318
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 2b54df9a4a367e3c5bf4af6a9645aed69a75a9b9 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b4faa1b25c6ef76a925fb8f8969f43bf304d068e5aca309be54a34923b5355c4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 33734
</span>
depends_build-append port:py${python.version}-setuptools
depends_lib-append port:${name} \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/yara/files/patch-loop_declarations.diff b/security/yara/files/patch-loop_declarations.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 4bcc659363c..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/yara/files/patch-loop_declarations.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,186 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- cli/yara.c.orig 2020-06-26 02:17:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ cli/yara.c 2020-08-07 13:30:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -76,6 +76,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define MAX_QUEUED_FILES 64
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int i;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- typedef struct _MODULE_DATA
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -297,8 +298,6 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static void file_queue_finish()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- int i;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for (i = 0; i < YR_MAX_THREADS; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- semaphore_release(&used_slots);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -572,7 +571,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const uint8_t* data,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int length)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < length; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < length; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (data[i] >= 32 && data[i] <= 126)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf("%c", data[i]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -627,7 +626,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- const uint8_t* data,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int length)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < min(32, length); i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < min(32, length); i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf("%s%02X", (i == 0 ? "" : " "), data[i]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- puts(length > 32 ? " ..." : "");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -796,12 +795,12 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf("number of AC matches in top %d longest lists\n", t);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < t; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < t; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf(" %3d: %d\n", i + 1, stats.top_ac_match_list_lengths[i]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf("match list length percentiles\n");
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 100; i >= 0; i--)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 100; i >= 0; i--)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- printf(" %3d: %d\n", i, stats.ac_match_list_length_pctls[i]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -822,7 +821,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- show = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; !show && tags[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; !show && tags[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yr_rule_tags_foreach(rule, tag)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -842,7 +841,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- show = false;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; !show && identifiers[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; !show && identifiers[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (strcmp(identifiers[i], rule->identifier) == 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1084,7 +1083,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int result = ERROR_SUCCESS;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; ext_vars[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; ext_vars[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char* equal_sign = strchr(ext_vars[i], '=');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1167,7 +1166,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- static int load_modules_data()
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; modules_data[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; modules_data[i] != NULL; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- char* equal_sign = strchr(modules_data[i], '=');
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libyara/arena.c.orig 2020-06-26 02:17:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libyara/arena.c 2020-08-07 13:10:02.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -41,6 +41,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #pragma pack(push)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #pragma pack(1)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+int i;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- struct YR_ARENA_FILE_HEADER
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uint8_t magic[4];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -270,7 +272,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (arena->xrefs > 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return ERROR_SUCCESS;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < arena->num_buffers; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < arena->num_buffers; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (arena->buffers[i].data != NULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yr_free(arena->buffers[i].data);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -414,7 +416,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (address == NULL)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- return 1;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if ((uint8_t*) address >= arena->buffers[i].data &&
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (uint8_t*) address < arena->buffers[i].data + arena->buffers[i].used)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -563,7 +565,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- FAIL_ON_ERROR(yr_arena_create(hdr.num_buffers, 1048576, &new_arena))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < hdr.num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < hdr.num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (buffers[i].size == 0)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- continue;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -639,7 +641,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- uint64_t offset = sizeof(YR_ARENA_FILE_HEADER)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- + sizeof(YR_ARENA_FILE_BUFFER) * arena->num_buffers;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- YR_ARENA_FILE_BUFFER buffer = {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- .offset = offset,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -683,7 +685,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // Now that all relocatable pointers are converted to references, write the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // buffers.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < arena->num_buffers; ++i)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- YR_ARENA_BUFFER* b = &arena->buffers[i];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libyara/exec.c.orig 2020-06-26 02:17:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libyara/exec.c 2020-08-07 13:12:34.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1683,7 +1683,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- obj_ptr = yr_arena_get_ptr(obj_arena, 0, 0);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < obj_count; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < obj_count; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yr_object_destroy(obj_ptr[i]);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yr_arena_release(obj_arena);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- libyara/rules.c.orig 2020-06-26 02:17:35.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ libyara/rules.c 2020-08-07 13:27:51.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -493,8 +493,9 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- float match_list_length_sum = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int c = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ int i;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < stats->ac_tables_size; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < stats->ac_tables_size; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int match_list_length = 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -531,7 +532,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- // sort match_list_lengths in increasing order for computing percentiles.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- qsort(match_list_lengths, c, sizeof(match_list_lengths[0]), _uint32_cmp);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 0; i < 100; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 0; i < 100; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (i < c)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stats->top_ac_match_list_lengths[i] = match_list_lengths[c-i-1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -543,7 +544,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stats->ac_match_list_length_pctls[0] = match_list_lengths[0];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stats->ac_match_list_length_pctls[100] = match_list_lengths[c-1];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- for (int i = 1; i < 100; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ for (i = 1; i < 100; i++)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- stats->ac_match_list_length_pctls[i] = match_list_lengths[(c * i) / 100];
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yr_free(match_list_lengths);
</span></pre><pre style='margin:0'>
</pre>