diff options
author | Lee Duncan <lduncan@suse.com> | 2018-03-21 18:44:44 -0700 |
---|---|---|
committer | Lee Duncan <lduncan@suse.com> | 2018-03-21 18:50:54 -0700 |
commit | af02412d3dd3839441ae48e2c9f9c307889d5fc1 (patch) | |
tree | fe968aa770255da42e2f1985401ff09606a42b5e /libopeniscsiusr/Makefile | |
parent | 1846d2c995f38fc5fa6e1960f6644b4b3b543bb0 (diff) | |
download | open-iscsi-af02412d3dd3839441ae48e2c9f9c307889d5fc1.tar.gz |
libopeniscsiusr: ensure sysfs pathname doesn't overflow.
When instantiating a pathname in sysfs, make sure there's enough
room to prevent possible overflow.
Found by gcc-8, which gave this warning:
> [54s] sysfs.c:326:48: error: '/iscsi_host/' directive output may be
> truncated writing 12 bytes into a region of size between 1 and 4096
> [-Werror=format-truncation=]
Diffstat (limited to 'libopeniscsiusr/Makefile')
0 files changed, 0 insertions, 0 deletions