VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/Keyfiles.h
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2014-07-09 05:38:35 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2014-11-08 23:20:45 +0100
commit9d027b02b9723493f66b94bba648e20d48e73b6f (patch)
tree52d5d04929fe83fdea01ab0ff1ea3754b6be4efd /src/Common/Keyfiles.h
parent899a22b840316d54a9563726e78f7a201a6702ef (diff)
downloadVeraCrypt-9d027b02b9723493f66b94bba648e20d48e73b6f.tar.gz
VeraCrypt-9d027b02b9723493f66b94bba648e20d48e73b6f.zip
Static Code Analysis : fix usage of strncpy and sscanf.
Diffstat (limited to 'src/Common/Keyfiles.h')
-rw-r--r--src/Common/Keyfiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Common/Keyfiles.h b/src/Common/Keyfiles.h
index 78a8fd53..9ba5b6e8 100644
--- a/src/Common/Keyfiles.h
+++ b/src/Common/Keyfiles.h
@@ -20,7 +20,7 @@ extern "C" {
typedef struct KeyFileStruct
{
- char FileName[MAX_PATH];
+ char FileName[MAX_PATH + 1];
struct KeyFileStruct *Next;
} KeyFile;