Skip to content

Commit 9ae4fcd

Browse files
committed
Memset out of nowhere
1 parent 2b180d9 commit 9ae4fcd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

UserPreferencesExplorer/Encryption.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ namespace Encryption
7474
++num_blocks;
7575
}
7676
auto out_plaintext = std::vector<uint8_t>(cipher->block_size * num_blocks);
77-
memset(&out_plaintext[0], 0, out_plaintext.size());
7877

7978
EVP_CIPHER_CTX_init(ctx);
8079

0 commit comments

Comments
 (0)