[PATCH] tpm: add check after commands attribs tab allocation