1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-13 19:47:35 +00:00
serenity/Userland/Libraries/LibCrypto
Daniel Bertalan a2aae6a582 LibCrypto: Remove redundant __builtin_memset() call
This call caused GCC 12's static analyzer to think that we perform an
out-of-bounds write to the v_key Vector. This is obviously incorrect,
and comes from the fact that GCC doesn't properly track whether we use
the inline storage, or the Vector is allocated on the heap.

While searching for a workaround, Sam pointed out that this call is
redundant as `Vector::resize()` already zeroes out the elements, so we
can completely remove it.

Co-authored-by: Sam Atkins <atkinssj@serenityos.org>
2021-12-24 14:35:33 -08:00
..
ASN1
Authentication LibCrypto: Remove redundant __builtin_memset() call 2021-12-24 14:35:33 -08:00
BigInt AK+Everywhere: Replace __builtin bit functions 2021-12-21 22:13:51 +01:00
Checksum
Cipher LibCrypto: Declobber AES header from s-box tables 2021-12-17 19:17:12 +03:30
Hash
NumberTheory
PK
CMakeLists.txt
Forward.h LibCrypto: Add the BigInteger concept 2021-12-22 11:27:31 +01:00
Verification.h