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

Bug#691804: marked as done (parse-advisory.pl sometimes treats CVE list as moreinfo)

Your message dated Tue, 30 Oct 2012 07:58:37 +0900
with message-id <20121030075837.9dc64855ff2c1e024a23e1b1@gmail.com>
and subject line Re: Bug#691804: parse-advisory.pl sometimes treats CVE list as moreinfo
has caused the Debian Bug report #691804,
regarding parse-advisory.pl sometimes treats CVE list as moreinfo
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

691804: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=691804
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: www.debian.org
Severity: wishlist
Tags: patch

CVE-****-**** line may be using tabs instead of spaces in the mails,
 and this makes the script fail to parse.

parse-advisory.pl: line 114
 if ($headersnearingend && $l !~ /^.{15}:.*$/) {

this matches when the mail use tabs instead of spaces.
then the CVE entries will become "moreinfo"

the patch changes this to:
  if ($headersnearingend && $l =~ /^\s*$/) {

this way $moreinfo waits for empty line (w/ space characters allowed)
note: $mi is the flag
114:  if ($headersnearingend && $l !~ /^.{15}:.*$/) {
115:    $mi++;


Attachment: parse-advisory.pl.patch
Description: Binary data

--- End Message ---
--- Begin Message ---
r1.84 makes empty line to trigger moreinfo


--- End Message ---

Reply to: