diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-02-16 07:06:41 +0100 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-16 21:37:58 +0100 |
commit | ca9b688c1c9a21635cfc8af8b68565b154185196 (patch) | |
tree | bfc9eed8a9099503645b467733707246b246ed19 /Documentation/mono.txt | |
parent | Btrfs: Fix BTRFS_IOC_SUBVOL_SETFLAGS ioctl (diff) | |
download | linux-ca9b688c1c9a21635cfc8af8b68565b154185196.tar.xz linux-ca9b688c1c9a21635cfc8af8b68565b154185196.zip |
Btrfs: Avoid accessing unmapped kernel address
When decompressing a chunk of data, we'll copy the data out to
a working buffer if the data is stored in more than one page,
otherwise we'll use the mapped page directly to avoid memory
copy.
In the latter case, we'll end up accessing the kernel address
after we've unmapped the page in a corner case.
Reported-by: Juan Francisco Cantero Hurtado <iam@juanfra.info>
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'Documentation/mono.txt')
0 files changed, 0 insertions, 0 deletions