From cb6881e4173088b64660dc6170b0c816ae6ef656 Mon Sep 17 00:00:00 2001 From: ergo720 <45463469+ergo720@users.noreply.github.com> Date: Tue, 18 Dec 2018 21:26:23 +0100 Subject: [PATCH] Spelling... --- src/common/crypto/EmuDes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/crypto/EmuDes.cpp b/src/common/crypto/EmuDes.cpp index 280270192..8d9591ca0 100644 --- a/src/common/crypto/EmuDes.cpp +++ b/src/common/crypto/EmuDes.cpp @@ -456,7 +456,7 @@ int mbedtls_des_crypt_cbc(mbedtls_des_context* ctx, ret = 0; num_des_blocks = (length + 7) / 8; - // The original code of ReactOS correctly checks that the input lenght is a multiple of a des_block (8 bytes) but the + // The original code of ReactOS correctly checks that the input length is a multiple of a des_block (8 bytes) but the // kernel doesn't and will encrypt up to block (lenght + 7) / 8. This means that we'll run the risk of reading some // random bytes after the buffer end and/or touching invalid memory and crash. Because the real kernel does it, we'll // allow this buggy behaviour for the sake of accuracy.