diff options
author | Gabriel de Perthuis <g2p.code@gmail.com> | 2012-10-10 18:50:47 +0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-25 23:39:47 +0400 |
commit | 661bec6ba884b86517ef5ea529aabb281a7198d9 (patch) | |
tree | 22881cdc9bf3d67c78ee07b24195885b0f0f223f /fs/9p/xattr.h | |
parent | f46dbe3dee853f8a860f889cb2b7ff4c624f2a7a (diff) | |
download | linux-661bec6ba884b86517ef5ea529aabb281a7198d9.tar.xz |
Fix a sign bug causing invalid memory access in the ino_paths ioctl.
To see the problem, create many hardlinks to the same file (120 should do it),
then look up paths by inode with:
ls -i
btrfs inspect inode-resolve -v $ino /mnt/btrfs
I noticed the memory layout of the fspath->val data had some irregularities
(some unnecessary gaps that stop appearing about halfway),
so I'm not sure there aren't any bugs left in it.
Diffstat (limited to 'fs/9p/xattr.h')
0 files changed, 0 insertions, 0 deletions