Fix for error condition in IKeystoreService

When an error condition happens, keystore might memcpy a NULL pointer
which would cause a SIGSEGV. Avoid trying to copy it in that case.

Bug: 8019596
Change-Id: Ifcfc75401c41595fc2c2f0172c718c8d3bb93020
1 file changed
tree: d7a1a0204af16a8fe725bc4c138db9687217606b
  1. keystore/
  2. keystore-engine/
  3. softkeymaster/