X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=fs%2Fisofs%2Fexport.c;h=2b4f2358eadbb063fab1fb2c275e9cad1151bd6c;hb=e56108d92760c89ce21c30aa02588595b9396251;hp=1d3804492aa77d7ca4440d087fd415febc2e3681;hpb=53795ced6e270fbb5cef7b527a71ffbb69657c78;p=cascardo%2Flinux.git diff --git a/fs/isofs/export.c b/fs/isofs/export.c index 1d3804492aa7..2b4f2358eadb 100644 --- a/fs/isofs/export.c +++ b/fs/isofs/export.c @@ -175,7 +175,7 @@ static struct dentry *isofs_fh_to_parent(struct super_block *sb, { struct isofs_fid *ifid = (struct isofs_fid *)fid; - if (fh_type != 2) + if (fh_len < 2 || fh_type != 2) return NULL; return isofs_export_iget(sb,