2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-19 16:14:13 +08:00
linux-next/net/9p
Pedro Scarapicchia Junior 1b0bcbcf62 net/9p/protocol.c: Fix a memory leak
When p9pdu_readf() is called with "s" attribute, it allocates a pointer that
will store a string. In p9dirent_read(), this pointer is not being released,
leading to out of memory errors.
This patch releases this pointer after string is copyed to dirent->d_name.

Signed-off-by: Pedro Scarapicchia Junior <pedro.scarapiccha@br.flextronics.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
2011-05-12 17:05:37 -05:00
..
client.c net/9p: Handle get_user_pages_fast return properly 2011-05-09 22:51:12 -05: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 [net/9p] Preparation and helper functions for zero copy 2011-03-15 09:57:34 -05:00
mod.c 9p: consolidate transport structure 2008-10-17 11:04:41 -05:00
protocol.c net/9p/protocol.c: Fix a memory leak 2011-05-12 17:05:37 -05:00
protocol.h 9P2010.L handshake: Remove "dotu" variable 2010-03-05 15:04:42 -06:00
trans_common.c net/9p: Handle get_user_pages_fast return properly 2011-05-09 22:51:12 -05:00
trans_common.h [net/9p] Add gup/zero_copy support to VirtIO transport layer. 2011-03-15 09:57:35 -05:00
trans_fd.c net/9p: Convert the in the 9p rpc call path to GFP_NOFS 2011-03-22 15:43:35 -05:00
trans_rdma.c net/9p: Convert the in the 9p rpc call path to GFP_NOFS 2011-03-22 15:43:35 -05:00
trans_virtio.c 9p: Fix sparse error 2011-04-15 15:26:14 -05:00
util.c Fix common misspellings 2011-03-31 11:26:23 -03:00