We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0805af0 commit dcbe7a0Copy full SHA for dcbe7a0
opal/mca/btl/usnic/btl_usnic_stats.c
@@ -123,6 +123,11 @@ void opal_btl_usnic_print_stats(
123
124
module->stats.num_crc_errors);
125
126
+ // Shouldn't happen, but just in case the string ever grows long
127
+ // enough to someday potentially get truncated by snprintf, ensure
128
+ // that the string is terminated.
129
+ str[sizeof(str) - 1] = '\0';
130
+
131
/* If our PML calls were 0, then show send and receive window
132
extents instead */
133
if (module->stats.pml_module_sends +
0 commit comments