Re: [Qemu-devel] [PATCH 2/3] qemu-io: Check for trailing chars

2015-10-26 Thread Eric Blake
On 10/26/2015 04:06 PM, John Snow wrote: > Make sure there's not trailing garbage, e.g. > "64k-whatever-i-want-here" > > Reported-by: Max Reitz > Signed-off-by: John Snow > --- > qemu-io-cmds.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) > > diff --git a/qemu-io-cmds.c b/q

[Qemu-devel] [PATCH 2/3] qemu-io: Check for trailing chars

2015-10-26 Thread John Snow
Make sure there's not trailing garbage, e.g. "64k-whatever-i-want-here" Reported-by: Max Reitz Signed-off-by: John Snow --- qemu-io-cmds.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qemu-io-cmds.c b/qemu-io-cmds.c index 07c5681..e2477fc 100644 --- a/qemu-io-cmds