intel / cve-bin-tool

The CVE Binary Tool helps you determine if your system includes known vulnerabilities. You can scan binaries for over 200 common, vulnerable components (openssl, libpng, libxml2, expat and others), or if you know the components used, you can get a list of known vulnerabilities associated with an SBOM or a list of components and versions.
https://cve-bin-tool.readthedocs.io/en/latest/
GNU General Public License v3.0
1.19k stars 457 forks source link

fix: halt if pdf selected but unavailable #4354

Closed terriko closed 1 month ago

terriko commented 1 month ago

If pdf output is selected but isn't available, then cve-bin-tool tells you to install reportlab, but it was easy to miss that message as the scan continued and pushed it off the screen. This changes those messages to be errors insead of info messages, and exits without doing a scan if pdf is the only output mode selected.

mastersans commented 1 month ago

looks good : )