| 299 |
|
|
| 300 |
def gen_header(): |
def gen_header(): |
| 301 |
yield B("Name"), bug.name |
yield B("Name"), bug.name |
| 302 |
|
|
| 303 |
|
nvd = self.db.getNVD(cursor, bug.name) |
| 304 |
|
|
| 305 |
|
if nvd and nvd.cve_desc: |
| 306 |
|
yield B("Description"), nvd.cve_desc |
| 307 |
|
elif bug.description: |
| 308 |
|
yield B("Description"), bug.description |
| 309 |
|
|
| 310 |
source = bug.name.split('-')[0] |
source = bug.name.split('-')[0] |
| 311 |
if source == 'CVE': |
if source == 'CVE': |
| 335 |
|
|
| 336 |
if source_xref: |
if source_xref: |
| 337 |
yield B("Source"), source_xref |
yield B("Source"), source_xref |
|
|
|
|
nvd = self.db.getNVD(cursor, bug.name) |
|
|
|
|
|
if nvd and nvd.cve_desc: |
|
|
yield B("Description"), nvd.cve_desc |
|
|
elif bug.description: |
|
|
yield B("Description"), bug.description |
|
| 338 |
|
|
| 339 |
xref = list(self.db.getBugXrefs(cursor, bug.name)) |
xref = list(self.db.getBugXrefs(cursor, bug.name)) |
| 340 |
if xref: |
if xref: |