Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2: add some extra validation of device string before using it
Let's add some extra validation before constructing and using the .so name to load. This isn't really security sensitive, given that we used secure_getenv() to get the device string (and it thus should have been come from a trusted source) but let's better be safe than sorry. (cherry picked from commit 50a0851)
- Loading branch information