Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid strcpy() in Esys install_tpm_passphrase
Coverity didn't like it, because it couldn't see that we had actually checked the length manually. By doing it like this we get to use free_pass() on the full initial password instead of just the truncated part, so it's not just a bogus "warning fix". Signed-off-by: David Woodhouse <dwmw2@infradead.org>
- Loading branch information