Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/virtio-user: fix devargs parsing
[ upstream commit bc5b6c1 ] strtoull returns 0 if it fails to parse input string. It's ignored in get_integer_arg. This patch handles error cases for strtoull function. Fixes: ce2eabd ("net/virtio-user: add virtual device") Signed-off-by: Ivan Dyukov <i.dyukov@samsung.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
- Loading branch information