summaryrefslogtreecommitdiff
path: root/libopeniscsiusr/Makefile
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2018-03-21 18:44:44 -0700
committerLee Duncan <lduncan@suse.com>2018-03-21 18:50:54 -0700
commitaf02412d3dd3839441ae48e2c9f9c307889d5fc1 (patch)
treefe968aa770255da42e2f1985401ff09606a42b5e /libopeniscsiusr/Makefile
parent1846d2c995f38fc5fa6e1960f6644b4b3b543bb0 (diff)
downloadopen-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