aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMathias Krause <minipli@googlemail.com>2012-07-12 02:46:55 -0400
committerJan Kara <jack@suse.cz>2012-07-13 05:21:21 -0400
commit0143fc5e9f6f5aad4764801015bc8d4b4a278200 (patch)
tree98a8486a21426f9ce334ad058ffe40c4e04b231a /lib/mpi/mpi-bit.c
parentfe685aabf7c8c9f138e5ea900954d295bf229175 (diff)
udf: avoid info leak on export
For type 0x51 the udf.parent_partref member in struct fid gets copied uninitialized to userland. Fix this by initializing it to 0. Signed-off-by: Mathias Krause <minipli@googlemail.com> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions
sequence_res; struct nfs_server; /* * The nfs_client identifies our client state to the server. */ struct nfs_client { atomic_t cl_count; int cl_cons_state; /* current construction state (-ve: init error) */ #define NFS_CS_READY 0 /* ready to be used */ #define NFS_CS_INITING 1 /* busy initialising */ #define NFS_CS_SESSION_INITING 2 /* busy initialising session */ unsigned long cl_res_state; /* NFS resources state */ #define NFS_CS_CALLBACK 1 /* - callback started */ #define NFS_CS_IDMAP 2 /* - idmap started */ #define NFS_CS_RENEWD 3 /* - renewd started */ struct sockaddr_storage cl_addr; /* server identifier */ size_t cl_addrlen; char * cl_hostname; /* hostname of server */ struct list_head cl_share_link; /* link in global client list */ struct list_head cl_superblocks; /* List of nfs_server structs */ struct rpc_clnt * cl_rpcclient; const struct nfs_rpc_ops *rpc_ops; /* NFS protocol vector */ int cl_proto; /* Network transport protocol */ u32 cl_minorversion;/* NFSv4 minorversion */ struct rpc_cred *cl_machine_cred; #ifdef CONFIG_NFS_V4 u64 cl_clientid; /* constant */ nfs4_verifier cl_confirm; unsigned long cl_state; struct rb_root cl_openowner_id; struct rb_root cl_lockowner_id; struct list_head cl_delegations; struct rb_root cl_state_owners; spinlock_t cl_lock; unsigned long cl_lease_time; unsigned long cl_last_renewal; struct delayed_work cl_renewd; struct rpc_wait_queue cl_rpcwaitq; /* used for the setclientid verifier */ struct timespec cl_boot_time; /* idmapper */ struct idmap * cl_idmap; /* Our own IP address, as a null-terminated string. * This is used to generate the clientid, and the callback address. */ char cl_ipaddr[48]; unsigned char cl_id_uniquifier; int (* cl_call_sync)(struct nfs_server *server, struct rpc_message *msg, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, int cache_reply); #endif /* CONFIG_NFS_V4 */ #ifdef CONFIG_NFS_V4_1 /* clientid returned from EXCHANGE_ID, used by session operations */ u64 cl_ex_clid; /* The sequence id to use for the next CREATE_SESSION */ u32 cl_seqid; /* The flags used for obtaining the clientid during EXCHANGE_ID */ u32 cl_exchange_flags; struct nfs4_session *cl_session; /* sharred session */ #endif /* CONFIG_NFS_V4_1 */ #ifdef CONFIG_NFS_FSCACHE struct fscache_cookie *fscache; /* client index cache cookie */ #endif }; /*