tee/tee_shm.c: Fix error handling path
Quoted 2 lines
When
shm->num_pages<= 0, we should avoid callingrelease_registered_pages()in error handling path.
* Would an imperative wording become helpful for the change description?
* I suggest to add the tag “Fixes” to the commit message.
Regards,
Markus
Quoted 7 lines · Markus Elfring
Quoted 3 lines
When
shm->num_pages<= 0, we should avoid callingrelease_registered_pages()in error handling path.* Would an imperative wording become helpful for the change description?
* I suggest to add the tag “Fixes” to the commit message.
Sure. Will address both in v2.
Quoted 3 lines
Regards,
Markus