VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-22 23:18:49 (GMT)
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-12-25 22:43:52 (GMT)
commit0207cd14a19605ecd0b47921c109abb0e4b13eb7 (patch)
treefba6a408fe2dee3191e91b05649b502caef007d5
parent667babbefe2e095e7765c3929626fbf1cd2a7041 (diff)
downloadVeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.zip
VeraCrypt-DCS-0207cd14a19605ecd0b47921c109abb0e4b13eb7.tar.gz
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.
-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;