<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<h3>
Salvatore Bonaccorso pushed to branch master
at <a href="https://salsa.debian.org/security-tracker-team/security-tracker">Debian Security Tracker / security-tracker</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://salsa.debian.org/security-tracker-team/security-tracker/commit/42639745cd2c8e716470bd4eef9f77b893ec9ee2">42639745</a></strong>
<div>
<span>by Salvatore Bonaccorso</span>
<i>at 2019-06-21T21:20:56Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Relax extraction for CVE description from allitems.txt file
MITRE recently did changes on the infrastructure to submit CVE entries
and slightly changed as well format of produced files.
Recent entries do not seem to contain anymore a strict \n\n\n separation
between the CVE description further from other notes attached to the
entry.
Slightly relax the regular expression but still try to catch correctly
the description only in the description() subroutine by still anchoring
to two \n\n, and two following \n\n to seperate the description.
Signed-off-by: Salvatore Bonaccorso <carnil@debian.org>
</pre>
</li>
<li>
<strong><a href="https://salsa.debian.org/security-tracker-team/security-tracker/commit/aa73d8fea0aeef9b590122efbcc173d0a5fcdf4f">aa73d8fe</a></strong>
<div>
<span>by Salvatore Bonaccorso</span>
<i>at 2019-06-21T21:25:13Z</i>
</div>
<pre class="commit-message" style="white-space: pre-wrap; margin: 0;">Merge branch 'check-new-issues-parse-description' into 'master'
Relax extraction for CVE description from allitems.txt file
See merge request security-tracker-team/security-tracker!42</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class="file-stats">
<a href="#102ba054ef321dcfaf13db49173fc3255d0b62d1">
bin/check-new-issues
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id="102ba054ef321dcfaf13db49173fc3255d0b62d1">
<a href="https://salsa.debian.org/security-tracker-team/security-tracker/compare/1712d1c2045b49899fa5caa6de64c6d432f49cab...aa73d8fea0aeef9b590122efbcc173d0a5fcdf4f#102ba054ef321dcfaf13db49173fc3255d0b62d1"><strong>bin/check-new-issues</strong></a>
<hr>
<table class="code white" style="font-family: monospace; font-size: 90%;" bgcolor="#fff" width="100%" cellpadding="0" cellspacing="0">
<tr class="line_holder match" id="" style="line-height: 1.6;">
<td class="diff-line-num unfold js-unfold old_line" data-linenumber="448" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="diff-line-num unfold js-unfold new_line" data-linenumber="448" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">...</td>
<td class="line_content match " style="padding-left: 0.5em; padding-right: 0.5em; color: rgba(0,0,0,0.3);" bgcolor="#fafafa">@@ -448,7 +448,7 @@ sub description {</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="448" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
448
</td>
<td class="diff-line-num new_line" data-linenumber="448" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
448
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC448" class="line" lang="perl"></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="449" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
449
</td>
<td class="diff-line-num new_line" data-linenumber="449" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
449
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC449" class="line" lang="perl"> <span class="nb" style="color: #0086b3;">defined</span> <span class="nv" style="color: #008080;">$data</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">$name</span><span class="p">}</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">CVE</span><span class="p">}</span> <span class="ow" style="font-weight: 600;">or</span> <span class="k" style="font-weight: 600;">return</span> <span class="s" style="color: #d14;">""</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="450" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
450
</td>
<td class="diff-line-num new_line" data-linenumber="450" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
450
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC450" class="line" lang="perl"> </span>
</pre>
</td>
</tr>
<tr class="line_holder old" id="" style="line-height: 1.6;">
<td class="diff-line-num old old_line" data-linenumber="451" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
451
</td>
<td class="diff-line-num new_line old" data-linenumber="451" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #fac5cd; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#f9d7dc">
</td>
<td class="line_content old" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#fbe9eb">
<pre style="margin: 0;">-<span id="LC451" class="line" lang="perl"> <span class="nv" style="color: #008080;">$</span><span class="p">{</span><span class="nv" style="color: #008080;">$data</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">$name</span><span class="p">}</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">CVE</span><span class="p">}}</span> <span class="o" style="font-weight: 600;">=~</span> <span class="sr" style="color: #009926;">/\n\n(.*\n)\n<span class="idiff left right">\n</span>/s</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder new" id="" style="line-height: 1.6;">
<td class="diff-line-num new old_line" data-linenumber="452" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
</td>
<td class="diff-line-num new new_line" data-linenumber="451" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #c7f0d2; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#ddfbe6">
451
</td>
<td class="line_content new" style="padding-left: 0.5em; padding-right: 0.5em;" bgcolor="#ecfdf0">
<pre style="margin: 0;">+<span id="LC451" class="line" lang="perl"> <span class="nv" style="color: #008080;">$</span><span class="p">{</span><span class="nv" style="color: #008080;">$data</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">$name</span><span class="p">}</span><span class="o" style="font-weight: 600;">-></span><span class="p">{</span><span class="nv" style="color: #008080;">CVE</span><span class="p">}}</span> <span class="o" style="font-weight: 600;">=~</span> <span class="sr" style="color: #009926;">/\n\n(.*\n)\n/s</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="452" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
452
</td>
<td class="diff-line-num new_line" data-linenumber="452" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
452
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC452" class="line" lang="perl"> <span class="k" style="font-weight: 600;">my</span> <span class="nv" style="color: #008080;">$desc</span> <span class="o" style="font-weight: 600;">=</span> <span class="nv" style="color: #008080;">$1</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="453" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
453
</td>
<td class="diff-line-num new_line" data-linenumber="453" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
453
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC453" class="line" lang="perl"> <span class="nv" style="color: #008080;">$desc</span> <span class="o" style="font-weight: 600;">=~</span> <span class="sr" style="color: #009926;">s/\n\n+/\n/</span><span class="p">;</span></span>
</pre>
</td>
</tr>
<tr class="line_holder" id="" style="line-height: 1.6;">
<td class="diff-line-num old_line" data-linenumber="454" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
454
</td>
<td class="diff-line-num new_line" data-linenumber="454" style="width: 35px; color: rgba(0,0,0,0.3); border-right-width: 1px; border-right-color: #f0f0f0; border-right-style: solid; padding: 0 5px;" align="right" bgcolor="#fafafa">
454
</td>
<td class="line_content" style="padding-left: 0.5em; padding-right: 0.5em;">
<pre style="margin: 0;"> <span id="LC454" class="line" lang="perl"> </span>
</pre>
</td>
</tr>
</table>
<br>
</li>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
<a href="https://salsa.debian.org/security-tracker-team/security-tracker/compare/1712d1c2045b49899fa5caa6de64c6d432f49cab...aa73d8fea0aeef9b590122efbcc173d0a5fcdf4f">View it on GitLab</a>.
<br>
You're receiving this email because of your account on salsa.debian.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
</p>
</div>
</body>
</html>