vtr-verilog-to-routing icon indicating copy to clipboard operation
vtr-verilog-to-routing copied to clipboard

potential null pointer dereference in read_xml_arch_file.cpp

Open HackerFoo opened this issue 6 years ago • 1 comments

.../vtr-verilog-to-routing/libs/libarchfpga/src/read_xml_arch_file.cpp: In function ‘void XmlReadArch(const char*, bool, t_arch*, std::vector<t_physical_tile_type>&, std::vector<t_logical_block_type>&)’:
.../vtr-verilog-to-routing/libs/libarchfpga/src/read_xml_arch_file.cpp:4804:24: warning: potential null pointer dereference [-Wnull-dereference]
         if (tile_port->type != block_port->type
             ~~~~~~~~~~~^~~~
.../vtr-verilog-to-routing/libs/libarchfpga/src/read_xml_arch_file.cpp:4804:24: warning: potential null pointer dereference [-Wnull-dereference]

HackerFoo avatar Oct 14 '19 16:10 HackerFoo

This change is part of the equivalent tiles change, which has a PR open here: https://github.com/SymbiFlow/vtr-verilog-to-routing/pull/296

litghost avatar Oct 14 '19 17:10 litghost