ladybird/Tests/LibCrypto
Ben Wiederhake 0ca41d2813 LibCrypto: Don't crash in ASN1::parse_utc_time on missing 'Z'
The underlying reason is an unconditional call to consume(), even if
there is no reason to expect that the string continues.

This crash was discovered by OSS-Fuzz:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=42354
This bug exists since the code was first written in April 2021:
13abbc5ea8
2022-12-31 23:21:17 +01:00
..
CMakeLists.txt LibCrypto+Tests: Test and demonstrate broken ASN1::parse_utc_time 2022-12-31 23:21:17 +01:00
TestAES.cpp
TestASN1.cpp LibCrypto: Don't crash in ASN1::parse_utc_time on missing 'Z' 2022-12-31 23:21:17 +01:00
TestBigInteger.cpp LibCrypto: Add a way to compare UnsignedBigInteger with double 2022-11-02 22:04:34 -06:00
TestChaCha20.cpp LibCrypto: Add ChaCha20 2022-04-13 09:13:17 +04:30
TestChecksum.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestCurves.cpp
TestEd25519.cpp LibCrypto: Add Ed25519 2022-05-12 23:47:13 +04:30
TestHash.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TestHMAC.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
TestPoly1305.cpp LibCrypto: Add Poly1305 2022-04-08 14:02:02 +04:30
TestRSA.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00