summaryrefslogtreecommitdiff
path: root/utils.c
diff options
context:
space:
mode:
authorRakesh Pandit <rakesh@tuxera.com>2014-04-20 16:17:53 +0300
committerDavid Sterba <dsterba@suse.cz>2014-05-02 17:03:50 +0200
commitcdee9ecc184f60a5110f2b68c72ec8d46c103f4e (patch)
treeb127965e6d5264540a5bcd9490345b6223b81835 /utils.c
parentad17d5608462e248c63f7be7b47bdbeaf971e52f (diff)
Btrfs-progs: fsck: fix double free memory crash
Fix double free of memory if btrfs_open_devices fails: *** Error in `btrfs': double free or corruption (fasttop): 0x000000000066e020 *** Crash happened because when open failed on device inside btrfs_open_devices it freed all memory by calling btrfs_close_devices but inside disk-io.c we call btrfs_close_again it again. Signed-off-by: Rakesh Pandit <rakesh@tuxera.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.c')
0 files changed, 0 insertions, 0 deletions