commit | d31966064030c99e3d6b717a9e713997cb5c274d | [log] [tgz] |
---|---|---|
author | Greg Hackmann <ghackmann@google.com> | Mon Nov 14 09:48:02 2016 -0800 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Thu Mar 02 13:41:59 2017 -0800 |
tree | 45e7adae3dc40cc00d19170e6b018c49c9e2a1b7 | |
parent | b6cfac7828270a6fcfa7d3c4f59f45fce6feca9d [diff] |
ANDROID: dm: android-verity: fix table_make_digest() error handling If table_make_digest() fails, verify_verity_signature() would try to pass the returned ERR_PTR() to kfree(). This fixes the smatch error: drivers/md/dm-android-verity.c:601 verify_verity_signature() error: 'pks' dereferencing possible ERR_PTR() Change-Id: I9b9b7764b538cb4a5f94337660e9b0f149b139be Signed-off-by: Greg Hackmann <ghackmann@google.com>