diff options
author | Wenchao Hao <haowenchao@huawei.com> | 2020-12-04 11:07:04 +0800 |
---|---|---|
committer | Wenchao Hao <haowenchao@huawei.com> | 2020-12-12 11:44:33 +0800 |
commit | 612629a2ee617dd72f21c5f66916e855fc925d77 (patch) | |
tree | 86b8523a10bedf0acf1bf5f54be9c5b8a9fb7d2f /iscsiuio | |
parent | be3b317705cbfdd694deae92db7f6e0458e702c0 (diff) | |
download | open-iscsi-612629a2ee617dd72f21c5f66916e855fc925d77.tar.gz |
fwparam_ppc: Fix illegal memory access in fwparam_ppc.c
bootpath_val is allocated in find_file() and referenced if find_file()
excute successfully, while it was freed in find_file() and
dereferenced after find_file() if find_file() returns 1.
This patch remove free(bootpath_val) in find_file() and free
bootpath_val when it is used done.
Signed-off-by: Wenchao Hao <haowenchao@huawei.com>
Signed-off-by: Zhiqiang Liu <liuzhiqiang26@huawei.com>
Signed-off-by: Wu Bo <wubo40@huawei.com>
Diffstat (limited to 'iscsiuio')
0 files changed, 0 insertions, 0 deletions