diff options
author | Holger Hoffstätte <holger.hoffstaette@googlemail.com> | 2014-04-26 09:41:04 +0000 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-05-02 17:05:47 +0200 |
commit | af0d2f88959d41488a83df4237e0c1f4c65836ed (patch) | |
tree | a2a9fa0e1782b1f58d6490f4fdc764b62171fb80 /Documentation/btrfs-scrub.txt | |
parent | 091ba6ad9842955604e36f3326fa49ba361ccb9d (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/btrfs-scrub.txt')
0 files changed, 0 insertions, 0 deletions