diff options
Diffstat (limited to 'src/firecfg')
-rw-r--r-- | src/firecfg/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/firecfg/main.c b/src/firecfg/main.c index d2566ce22..15ee78384 100644 --- a/src/firecfg/main.c +++ b/src/firecfg/main.c | |||
@@ -342,6 +342,7 @@ static void fix_desktop_files(void) { | |||
342 | if (stat(filename, &sb) == -1) | 342 | if (stat(filename, &sb) == -1) |
343 | errExit("stat"); | 343 | errExit("stat"); |
344 | 344 | ||
345 | /* coverity[toctou] */ | ||
345 | int fd = open(filename, O_RDONLY); | 346 | int fd = open(filename, O_RDONLY); |
346 | if (fd == -1) | 347 | if (fd == -1) |
347 | errExit("open"); | 348 | errExit("open"); |