diff options
author | Christoph Jaeger <christophjaeger@linux.com> | 2014-04-12 13:33:13 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-04-14 20:31:08 +0200 |
commit | 0040e606e35a0db80fc3fac04ccc7c7176a8e2b1 (patch) | |
tree | 42978de09e95365ba46df73587b3a30149566247 /fs/btrfs/file.c | |
parent | Btrfs: fix compile warnings on on avr32 platform (diff) | |
download | linux-0040e606e35a0db80fc3fac04ccc7c7176a8e2b1.tar.xz linux-0040e606e35a0db80fc3fac04ccc7c7176a8e2b1.zip |
btrfs: fix use-after-free in mount_subvol()
Pointer 'newargs' is used after the memory that it points to has already
been freed.
Picked up by Coverity - CID 1201425.
Fixes: 0723a0473f ("btrfs: allow mounting btrfs subvolumes with
different ro/rw options")
Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions