commit | 760ec8ea96059a65e047102a406dca6b5a236d27 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Wed May 25 15:47:04 2022 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Wed May 25 18:54:58 2022 -0400 |
tree | 5e7ebf80229b36eef7ab5fffcceb80228d57c24f | |
parent | bfa79e91f2e45c22a56fa5c00f82ef56631d745c [diff] |
swtpm: Handle case where unknown blobtype is given (Coverity) Handle the case where an unknown blobtype is given and therefore cannot be translated to a filename and blobname is NULL. Previously this would have lead to an error when trying to read the file, now we handle the failure case earlier. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>