summaryrefslogtreecommitdiff
path: root/fs/btrfs/file.c
diff options
context:
space:
mode:
authorChristoph Jaeger <christophjaeger@linux.com>2014-04-12 13:33:13 +0200
committerChris Mason <clm@fb.com>2014-04-14 11:31:08 -0700
commit0040e606e35a0db80fc3fac04ccc7c7176a8e2b1 (patch)
tree42978de09e95365ba46df73587b3a30149566247 /fs/btrfs/file.c
parente4fbaee29272533a242f117d18712e2974520d2c (diff)
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 'fs/btrfs/file.c')
0 files changed, 0 insertions, 0 deletions