path: root/extent_io.h
diff options
authorZach Brown <>2013-08-06 11:49:04 -0700
committerDavid Sterba <>2013-09-03 19:40:52 +0200
commit6a0af4e57b58e9756e246db6967423ea6fa83265 (patch)
tree1eb84334ca9622d73ede5c72aaf01b012cea1dcc /extent_io.h
parent689ad3e362c1e6d54ef7b6876dbb64e1e51b8cf1 (diff)
btrfs-progs: don't overrun "answer" array in cmds-chunk.c
Eric noticed the trivial stack overflow bug in ask_user(). I went to see the context for that fix and found that ask_user() was a bit much. This fixes the overflow bug that Eric found, endless spinning on scanf() errors, removes dead code, and leaves us with a trivial helper. Signed-off-by: Zach Brown <> Signed-off-by: David Sterba <> Signed-off-by: Chris Mason <>
Diffstat (limited to 'extent_io.h')
0 files changed, 0 insertions, 0 deletions