Files
linux-apfs/net
Andrey Ryabinin 179a5bc4b8 net/9p: use memcpy() instead of snprintf() in p9_mount_tag_show()
p9_mount_tag_show() uses '%s' format string to print
non-NULL terminated chan->tag string. This leads
to out of bounds memory read, because format '%s'
implies that string is NULL-terminated.

The length of string is know here, so its simpler and safer
to use memcpy instead of snprintf().

Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
Signed-off-by: Dominique Martinet <dominique.martinet@cea.fr>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2015-03-20 07:34:43 -07:00
..
2014-12-09 16:29:03 -05:00
2015-02-23 15:28:50 -05:00
2015-02-04 09:15:18 +01:00
2015-03-12 00:28:01 -04:00
2015-03-08 12:53:46 -07:00
2015-01-28 23:15:07 -08:00