VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/DcsInt
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-23 00:18:49 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-25 23:43:52 +0100
commit0207cd14a19605ecd0b47921c109abb0e4b13eb7 (patch)
treefba6a408fe2dee3191e91b05649b502caef007d5 /DcsInt
parent667babbefe2e095e7765c3929626fbf1cd2a7041 (diff)
downloadVeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.tar.gz
VeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.zip
Code clarity change: set Next field of DcsIntBlockIoFirst to NULL although it is already NULL at this code location since DcsIntBlockIo was allocated using AllocateZeroPool.
Diffstat (limited to 'DcsInt')
-rw-r--r--DcsInt/DcsInt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/DcsInt/DcsInt.c b/DcsInt/DcsInt.c
index 5d91936..8ece8f8 100644
--- a/DcsInt/DcsInt.c
+++ b/DcsInt/DcsInt.c
@@ -374,6 +374,7 @@ IntBlockIo_Hook(
// add to global list
if (DcsIntBlockIoFirst == NULL) {
DcsIntBlockIoFirst = DcsIntBlockIo;
+ DcsIntBlockIoFirst->Next = NULL;
}
else {
DcsIntBlockIoFirst->Next = DcsIntBlockIoFirst;