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 459102f commit 2e4d1eeCopy full SHA for 2e4d1ee
bin/pibs-BGP-Ranking.c
@@ -75,6 +75,7 @@ int main(int argc, char* argv[])
75
break;
76
case 'r':
77
strncpy(pibs->filename, optarg, FILENAME_MAX);
78
+ pibs->filename[FILENAME_MAX-1] = '\0';
79
80
}
81
0 commit comments