Skip to content

cvss_calculator.py:67 — catches CVSSError then continues into else #84

Description

@Pierre-Gronau-ndaal

cvss_calculator.py:67 — catches CVSSError then continues into else: which uses the uninitialised cvss_vector. Wait — it's in try/except/else, so else runs only on success. OK. But the outer except (KeyboardInterrupt, EOFError) wrapping the whole main() swallows Ctrl-C silently with just print(); acceptable for CLI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions