summaryrefslogtreecommitdiff
path: root/iscsiuio
diff options
context:
space:
mode:
authorWenchao Hao <haowenchao@huawei.com>2020-12-04 11:07:04 +0800
committerWenchao Hao <haowenchao@huawei.com>2020-12-12 11:44:33 +0800
commit612629a2ee617dd72f21c5f66916e855fc925d77 (patch)
tree86b8523a10bedf0acf1bf5f54be9c5b8a9fb7d2f /iscsiuio
parentbe3b317705cbfdd694deae92db7f6e0458e702c0 (diff)
downloadopen-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