diff options
author | Wenchao Hao <haowenchao@huawei.com> | 2020-11-23 21:57:29 +0800 |
---|---|---|
committer | Wenchao Hao <haowenchao@huawei.com> | 2020-12-12 11:43:53 +0800 |
commit | d18fd867116ba503fc1ba684469b30c07e41ee45 (patch) | |
tree | 62d7738c32bdf746e6a4a290110f98bfe4a72978 /iscsiuio/configure.ac | |
parent | 3eac1fc3f512302b6eccd913cbc9e7dc1f490ed2 (diff) | |
download | open-iscsi-d18fd867116ba503fc1ba684469b30c07e41ee45.tar.gz |
iscsi-iname: Verify open() return value before calling read()
System call open() might return -1 if an error occurred which
should be taken into consideration.
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/configure.ac')
0 files changed, 0 insertions, 0 deletions