diff options
author | Andrey Ryabinin <a.ryabinin@samsung.com> | 2015-01-26 19:48:16 +0300 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@cea.fr> | 2015-03-13 18:08:12 +0100 |
commit | 70291e738dce8c1ca713c25030db240c9b09a262 (patch) | |
tree | 72548934adb9f91a2579e1ae2114ccc45b7ecdb7 /arch/ia64/include/asm/poll.h | |
parent | 94f8dfb6ca3e95603cc641b2a0d356f611fdb5ad (diff) |
net/9p: fix format string in p9_mount_tag_show()
Using "%s" for non-NULL terminated string is quite
dangerous, since this causes reading out of bounds.
chan->tag is non-NULL terminated, so precision
must be specified for printing it.
Fixes: 86c8437383ac ("net/9p: Add sysfs mount_tag file for virtio 9P device")
Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Diffstat (limited to 'arch/ia64/include/asm/poll.h')
0 files changed, 0 insertions, 0 deletions