commit | 9c9d90aa1971dde456fc736b78de5f0f8d7d2da4 | [log] [tgz] |
---|---|---|
author | Saranya Chidura <schidura@codeaurora.org> | Mon Oct 22 12:32:25 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Mon Oct 22 21:09:04 2018 -0700 |
tree | 8125eb28d9ff8a68d2a0c5b5b6f38cdc67a96686 | |
parent | 6351c231aea0de15a810753c5404d61653aea887 [diff] |
platform: msm_shared: Fix the double free of buffer, which used to store partition entries A buffer, allocated in partition_parse_gpt_header() for storing the partition entries and re-use for validations. In mmc_boot_read_gpt(), this buffer is double freed in error path. Fix the buffer free. Change-Id: I567b9de63e163e307ea8480b452abcaa0bc7891e Signed-off-by: Saranya Chidura <schidura@codeaurora.org>