diff options
author | tb <> | 2025-09-14 16:47:37 +0000 |
---|---|---|
committer | tb <> | 2025-09-14 16:47:37 +0000 |
commit | 4c3431c42271c25d676afc9be6b449390cc67152 (patch) | |
tree | ef369c8b7066de03d590c0e529f066bc872be488 /src/lib/libc/string/memcpy.c | |
parent | c24a0a63998841e19c89184824b08a4a3accee00 (diff) | |
download | openbsd-4c3431c42271c25d676afc9be6b449390cc67152.tar.gz openbsd-4c3431c42271c25d676afc9be6b449390cc67152.tar.bz2 openbsd-4c3431c42271c25d676afc9be6b449390cc67152.zip |
mlkem_public_to_private: fix overread/information leak
After the guts of MLKEM_public_key were changed from a union to a struct,
the aligner grew the struct, leaking as many bytes of private key data as
the struct grew (on normal platforms that would be 2).
Ideally this would all be a bit more robust.
CID 621603 621604
ok jsing kenjiro
Diffstat (limited to 'src/lib/libc/string/memcpy.c')
0 files changed, 0 insertions, 0 deletions