linux-uconsole/net/9p
Dan Carpenter bc92e1f6c2 9p: strlen() doesn't count the terminator
commit 5c4bfa17f3 upstream.

This is an off by one bug because strlen() doesn't count the NULL
terminator.  We strcpy() addr into a fixed length array of size
UNIX_PATH_MAX later on.

The addr variable is the name of the device being mounted.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 10:20:39 -07:00
..
client.c 9p: fix readdir corner cases 2009-11-02 08:43:45 -06:00
error.c net/9p: insulate the client against an invalid error code sent by a 9p server 2009-08-17 16:39:54 -05:00
Kconfig 9p: disallow RDMA if RDMA CM isn't available 2009-01-15 16:39:42 -08:00
Makefile 9p: rdma: RDMA Transport Support for 9P 2008-10-22 18:47:39 -05:00
mod.c 9p: consolidate transport structure 2008-10-17 11:04:41 -05:00
protocol.c 9p: fix endian issues [attempt 3] 2009-02-06 22:07:41 -08:00
protocol.h 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00
trans_fd.c 9p: strlen() doesn't count the terminator 2010-08-10 10:20:39 -07:00
trans_rdma.c 9p: minor comment fixes 2009-08-17 16:27:57 -05:00
trans_virtio.c virtio: let header files include virtio_ids.h 2009-10-22 16:39:28 +10:30
util.c 9p: rework client code to use new protocol support functions 2008-10-17 11:04:45 -05:00