Skip to content

pySCG typo or error in CWE-703/CWE-392/compliant03.py #652

@myteron

Description

@myteron

The CWE-703/CWE-392/compliant03.py

code has an error on line 22

        ret = list()
        invalid_arg = 0
        try:
            for res in result_gen:
                ret.append(res)
                invalid_arg += 1
            return ret

Not sure if its a typo, got flagged while using pyre.
Need to have a close look to understand the original intention of this code in order to fix it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions