]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
udf: avoid info leak on export
authorMathias Krause <minipli@googlemail.com>
Thu, 12 Jul 2012 06:46:55 +0000 (08:46 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 10 Jun 2013 09:43:18 +0000 (11:43 +0200)
commit78d630bd79019250a11ea4aae6ab4ecadf1da68e
tree61cba49ceea7f705665060f7085224966b6a9644
parent5ece3559d5d7264dc62ef35df87c92e5c342fd24
udf: avoid info leak on export

commit 0143fc5e9f6f5aad4764801015bc8d4b4a278200 upstream.

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>
Cc: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
fs/udf/namei.c