On Wed, Nov 16, 2011 at 03:45:59PM +0100, Markus Armbruster wrote:
> get_str_sep() can fail, but net_slirp_hostfwd_remove() doesn't check.
> Works, because it initializes buf[] to "", which get_str_sep() doesn't
> touch when it fails.  Coverity doesn't like it, and neither do I.
> 
> Change it to work exactly like slirp_hostfwd().
> 
> Signed-off-by: Markus Armbruster <arm...@redhat.com>
> ---
>  net/slirp.c |    9 ++++-----
>  1 files changed, 4 insertions(+), 5 deletions(-)

Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan

Reply via email to