diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2011-02-16 01:06:41 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-16 15:37:58 -0500 |
commit | ca9b688c1c9a21635cfc8af8b68565b154185196 (patch) | |
tree | bfc9eed8a9099503645b467733707246b246ed19 /fs/partitions | |
parent | b4dc2b8c694ead005b828f5fb7fa1134db5b6275 (diff) |
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 'fs/partitions')
0 files changed, 0 insertions, 0 deletions