Skip to content

Commit 8e509df

Browse files
authored
Merge pull request verilog-to-routing#794 from j-b-1-7/odin_coverity_issue_201341
ODIN_II: Fix coverity issue CID 201341
2 parents f085d05 + e0e9bcd commit 8e509df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ODIN_II/SRC/read_blif.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,8 @@ operation_list read_bit_map_find_unknown_gate(int input_count, nnode_t *node, FI
808808
if (output_bit_map != NULL) vtr::free(output_bit_map);
809809
output_bit_map = vtr::strdup(vtr::strtok(NULL,TOKENS, file, buffer));
810810
}
811+
812+
oassert(output_bit_map);
811813

812814
if (!strcmp(output_bit_map, One))
813815
{

0 commit comments

Comments
 (0)