Skip to content

Coverity: ODIN_II: CID 202041 Null pointer dereferences #808

Closed
@jeanlego

Description

@jeanlego

/workspace/vtr-verilog-to-routing/ODIN_II/SRC/parse_making_ast.cpp: 1921 in

newDefparam(ids, ast_node_t *, int)()

1915                            }
1916                    }
1917            }
1918            //if the instance never showed before, dealt with this parameter in function convert_ast_to_netlist_recursing_via_modules
1919            if(flag == 0)
1920            {
>>>     CID 202041:  Null pointer dereferences  (FORWARD_NULL)
>>>     Dereferencing null pointer "new_node".
1921                    new_node->shared_node = false;
1922                    return new_node;
1923            //      add_child_to_node(new_node, symbol_node);
1924            }
1925            return NULL;
1926     }

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