Re: [Qemu-devel] [PATCHv3 1/2] block/nfs: fix url parameter checking

2014-06-24 Thread Eric Blake
On 06/24/2014 04:06 PM, Peter Lieven wrote: > this patch fixes the incorrect usage of strncmp and > adds simple error checking by means of parse_uint_full > instead of atoi for the supplied URL parameters. > > Signed-off-by: Peter Lieven > --- > block/nfs.c | 18 -- > 1 file ch

[Qemu-devel] [PATCHv3 1/2] block/nfs: fix url parameter checking

2014-06-24 Thread Peter Lieven
this patch fixes the incorrect usage of strncmp and adds simple error checking by means of parse_uint_full instead of atoi for the supplied URL parameters. Signed-off-by: Peter Lieven --- block/nfs.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/block/