summaryrefslogtreecommitdiffstats
path: root/include/asm-cris/arch-v32/hwregs
diff options
context:
space:
mode:
authorAndrey Ryabinin <a.ryabinin@samsung.com>2015-01-26 19:48:16 +0300
committerDominique Martinet <dominique.martinet@cea.fr>2015-03-13 18:08:12 +0100
commit70291e738dce8c1ca713c25030db240c9b09a262 (patch)
tree72548934adb9f91a2579e1ae2114ccc45b7ecdb7 /include/asm-cris/arch-v32/hwregs
parent94f8dfb6ca3e95603cc641b2a0d356f611fdb5ad (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 'include/asm-cris/arch-v32/hwregs')
0 files changed, 0 insertions, 0 deletions