]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isofs: avoid info leak on export
authorMathias Krause <minipli@googlemail.com>
Thu, 12 Jul 2012 06:46:54 +0000 (08:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 19:12:27 +0000 (12:12 -0700)
commit19b437682b56a924993979dff408a72e2c5380e6
tree963fb370a9a8d8773ca415e98176327b93303a0d
parentb647ebe6e7c171efd2003b1a8d07dcc26e6fa748
isofs: avoid info leak on export

commit fe685aabf7c8c9f138e5ea900954d295bf229175 upstream.

For type 1 the parent_offset member in struct isofs_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>
fs/isofs/export.c