Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 0723a04 ("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>
- Loading branch information