udf: avoid info leak on export
authorMathias Krause <minipli@googlemail.com>
Thu, 12 Jul 2012 06:46:55 +0000 (08:46 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 10 Feb 2014 21:11:32 +0000 (16:11 -0500)
commitcd50b96209b07d1e650f037dcdcb5ceb862c4445
treeca8ef5e7e0a70fcc5bc704b797963faf873a5e5a
parent3cb827b381dc2aace21720eaef0dee832f3ffd46
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>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
fs/udf/namei.c