Skip to content

Commit 34beda1

Browse files
Merge pull request #3335 from w0lek/attempt_to_load_arch_xml_file_without_extension_leads_to_segfault
attempt to load arch xml file without extension leads to segfault
2 parents 3f55f4b + 6286305 commit 34beda1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ void xml_read_arch(std::string_view arch_file,
404404
VTR_LOG_WARN(
405405
"Architecture file '%s' may be in incorrect format. "
406406
"Expecting .xml format for architecture files.\n",
407-
arch_file);
407+
arch_file.data());
408408
}
409409

410410
// Create a unique identifier for this architecture file based on it's contents

0 commit comments

Comments
 (0)