Add error handling to getChangelogCVELines

This commit is contained in:
Masahiro Ono
2016-07-27 13:13:07 +09:00
parent ad84f09bce
commit 6c3802071f

View File

@@ -541,6 +541,9 @@ func (o *redhat) parseAllChangelog(allChangelog string) (map[string]*string, err
}
}
now, err = o.isRpmPackageNameLine(orglines[i])
if err != nil {
return nil, err
}
if prev && now {
tmpline = fmt.Sprintf("%s, %s", tmpline, orglines[i])
continue