Re: [PATCH 2/3] report-vuln: don't fail if description_from_list return None
Hi Guido,
On Wed, Nov 29, 2017 at 01:46:06PM +0100, Guido Günther wrote:
> If no description was found None is returned. This fixes
>
> Traceback (most recent call last):
> File "bin/report-vuln", line 237, in <module>
> main()
> File "bin/report-vuln", line 234, in main
> gen_text(pkg, cve, affected=args.affected, blanks=args.blanks, severity=args.severity, cc=args.cc, cclist=args.cclist, src=args.src)
> File "bin/report-vuln", line 156, in gen_text
> print get_cve(cve)
> File "bin/report-vuln", line 114, in get_cve
> return ret + '\n'
> TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
>
> in case of a yet unknown CVE.
> ---
> O.k. to apply?
Thanks for the fix, please apply!
Regards,
Salvatore
p.s.: Btw, security-tracker related discussion is I think better suited
to https://lists.debian.org/debian-security-tracker/
Reply to: