summaryrefslogtreecommitdiff
path: root/Documentation/mkfs.btrfs.txt
diff options
context:
space:
mode:
authorHolger Hoffstätte <holger.hoffstaette@googlemail.com>2014-04-26 09:41:04 +0000
committerDavid Sterba <dsterba@suse.cz>2014-05-02 17:05:47 +0200
commitaf0d2f88959d41488a83df4237e0c1f4c65836ed (patch)
treea2a9fa0e1782b1f58d6490f4fdc764b62171fb80 /Documentation/mkfs.btrfs.txt
parent091ba6ad9842955604e36f3326fa49ba361ccb9d (diff)
btrfs-progs: fix mkfs.btrfs segfault with --features option
The mkfs.btrfs --features long option takes an argument but does not declare it. Consequently getopt does not allocate an argument, which makes an unconditional strdup() crash during options parsing. Fix by declaring the argument in the options alias array. Signed-off-by: Holger Hoffstätte <holger.hoffstaette@googlemail.com> Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation/mkfs.btrfs.txt')
0 files changed, 0 insertions, 0 deletions