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 20de792 commit 361f506Copy full SHA for 361f506
src/aureport.c
@@ -172,6 +172,7 @@ static int process_logs(void)
172
clear_config (&config);
173
174
strncpy(dirname, user_file, MAXPATHLEN-32);
175
+ dirname[MAXPATHLEN-32] = '\0';
176
if (dirname[strlen(dirname)-1] != '/')
177
strcat(dirname, "/");
178
strcat (dirname, "audit.log");
src/ausearch.c
@@ -244,6 +244,7 @@ static int process_logs(void)
244
245
246
247
248
249
250
0 commit comments