Displaying 1 result from an estimated 1 matches for "f0c14a9".
Did you mean:
f00e4a9
2013 Nov 27
1
[PATCH v4] btrfs-progs: Fix a segfault when using btrfs-corrupt-block with "-U"
...segfault due to a missing break in getopt switch.
Reported-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com>
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
---
btrfs-corrupt-block.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/btrfs-corrupt-block.c b/btrfs-corrupt-block.c
index f0c14a9..a2828d4 100644
--- a/btrfs-corrupt-block.c
+++ b/btrfs-corrupt-block.c
@@ -758,6 +758,7 @@ int main(int ac, char **av)
break;
case ''U'':
chunk_tree = 1;
+ break;
case ''i'':
inode = atoll(optarg);
if (inode == 0) {
--
1.8.4.2
--
To...