udf: avoid info leak on export
authorMathias Krause <minipli@googlemail.com>
Thu, 12 Jul 2012 06:46:55 +0000 (08:46 +0200)
committerJan Kara <jack@suse.cz>
Fri, 13 Jul 2012 09:21:21 +0000 (11:21 +0200)
commit0143fc5e9f6f5aad4764801015bc8d4b4a278200
tree98a8486a21426f9ce334ad058ffe40c4e04b231a
parentfe685aabf7c8c9f138e5ea900954d295bf229175
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>
fs/udf/namei.c