aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/API/SBStream.cpp
diff options
context:
space:
mode:
authorMariusz Zaborski <oshogbo@FreeBSD.org>2023-02-08 16:41:06 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2023-02-08 18:01:58 +0000
commit5fff09660e06a66bed6482da9c70df328e16bbb6 (patch)
treefaa1789e4971cf72f18e46e74518a78bef2532cc /contrib/llvm-project/lldb/source/API/SBStream.cpp
parent8c784bb8cf36911b828652f0bf7e88f443abec50 (diff)
downloadsrc-5fff09660e06a66bed6482da9c70df328e16bbb6.tar.gz
src-5fff09660e06a66bed6482da9c70df328e16bbb6.zip
geli: split the initalization of HMAC
GELI allows to read a user key from a standard input. However if user initialize multiple providers at once, the standard input will be empty for the second and next providers. This caused GELI to encrypt a master key with an empty key file. This commits initialize the HMAC with the key file, and then reuse the finalized structure to generate different encryption keys for different providers. Reported by: Nathan Dorfman Tested by: philip Security: FreeBSD-SA-23:01.geli Security: CVE-2023-0751
Diffstat (limited to 'contrib/llvm-project/lldb/source/API/SBStream.cpp')
0 files changed, 0 insertions, 0 deletions