commit | 7c24384b3b984f0256ba10eb26d877ec28985019 | [log] [tgz] |
---|---|---|
author | Peter Lieven <pl@kamp.de> | Wed Jun 25 00:06:00 2014 +0200 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Jun 26 13:51:01 2014 +0200 |
tree | c1c0a62dbac23a048ba7bf3c8d34c332b2762f1a | |
parent | 3b9f27d2b34cb8c5cc6cec993712c7e1943e9de9 [diff] |
block/nfs: fix url parameter checking 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 <pl@kamp.de> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>