Files
keepassxc/tests
Dylan Pulver 31a4c9ddd4 Reject invalid padding in Base32::decode
decode() counted '=' anywhere in the last six characters and treated
any count outside {1,3,4,6} as unpadded. With two or five pad
characters nQuantumBytes became 0, so the output buffer was returned
with bytes that were never written, and the byte-extraction offset
became -8, shifting by a negative amount.

Count only the trailing run of pad characters, reject counts RFC 4648
does not allow, and reject a '=' that is not part of that run.
2026-09-01 11:12:39 -04:00
..
2018-03-31 16:01:30 -04:00
2015-09-12 13:55:50 +02:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2023-07-30 09:56:09 -04:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2026-05-04 15:16:51 +03:00
2024-09-04 06:42:31 -04:00
2019-03-19 18:56:17 -04:00