VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/Library/PasswordLib
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-09-26 07:42:24 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-17 18:17:47 +0200
commit224b1cc286122b8aca5002fec31ed0390b299403 (patch)
tree589a728a9a554361df23389350802d8871ec16f3 /Library/PasswordLib
parent5fb01149ef1cecc36b261094b304ff0654bb7ae3 (diff)
downloadVeraCrypt-DCS-224b1cc286122b8aca5002fec31ed0390b299403.tar.gz
VeraCrypt-DCS-224b1cc286122b8aca5002fec31ed0390b299403.zip
Fix various issues reported by Coverity
Diffstat (limited to 'Library/PasswordLib')
-rw-r--r--Library/PasswordLib/PlatformID.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/PasswordLib/PlatformID.c b/Library/PasswordLib/PlatformID.c
index 351503e..63b2e7d 100644
--- a/Library/PasswordLib/PlatformID.c
+++ b/Library/PasswordLib/PlatformID.c
@@ -236,7 +236,7 @@ PlatformGetAuthDataByType(
continue;
}
*data = buf;
- *len = mark->AuthDataSize * 1024 * 128;
+ *len = ((UINTN) mark->AuthDataSize) * 1024 * 128;
*secRegionHandle = gBIOHandles[gBioIndexAuth];
return EFI_SUCCESS;
}