git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
isofs: avoid info leak on export
[pandora-kernel.git]
/
fs
/
isofs
/
export.c
diff --git
a/fs/isofs/export.c
b/fs/isofs/export.c
index
516eb21
..
fd88add
100644
(file)
--- a/
fs/isofs/export.c
+++ b/
fs/isofs/export.c
@@
-135,6
+135,7
@@
isofs_export_encode_fh(struct dentry *dentry,
len = 3;
fh32[0] = ei->i_iget5_block;
fh16[2] = (__u16)ei->i_iget5_offset; /* fh16 [sic] */
+ fh16[3] = 0; /* avoid leaking uninitialized data */
fh32[2] = inode->i_generation;
if (connectable && !S_ISDIR(inode->i_mode)) {
struct inode *parent;