diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-09-26 07:42:24 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-10-17 18:17:47 +0200 |
commit | 224b1cc286122b8aca5002fec31ed0390b299403 (patch) | |
tree | 589a728a9a554361df23389350802d8871ec16f3 /DcsRe | |
parent | 5fb01149ef1cecc36b261094b304ff0654bb7ae3 (diff) | |
download | VeraCrypt-DCS-224b1cc286122b8aca5002fec31ed0390b299403.tar.gz VeraCrypt-DCS-224b1cc286122b8aca5002fec31ed0390b299403.zip |
Fix various issues reported by Coverity
Diffstat (limited to 'DcsRe')
-rw-r--r-- | DcsRe/DcsRe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/DcsRe/DcsRe.c b/DcsRe/DcsRe.c index 7d08d50..5ccb1b2 100644 --- a/DcsRe/DcsRe.c +++ b/DcsRe/DcsRe.c @@ -47,7 +47,7 @@ AppendMenu( item = (PMENU_ITEM)MEM_ALLOC(sizeof(MENU_ITEM));
if (item == NULL) return item;
item->Action = action;
- StrCat(item->Text, text);
+ StrCatS(item->Text, sizeof (item->Text) / sizeof (CHAR16), text);
item->Select = select;
if (menu != NULL) {
menu->Next = item;
|