Re: [Qemu-devel] [PATCH 2/2] slirp: Fix error reported by static code analysis

2012-09-05 Thread Jan Kiszka
On 2012-09-04 23:20, Stefan Weil wrote: > Report from smatch: > > slirp/tcp_subr.c:127 tcp_respond(17) error: > we previously assumed 'tp' could be null (see line 124) > > Return if 'tp' is NULL. > > Signed-off-by: Stefan Weil > --- > slirp/tcp_subr.c |2 +- > 1 file changed, 1 insertion(

[Qemu-devel] [PATCH 2/2] slirp: Fix error reported by static code analysis

2012-09-04 Thread Stefan Weil
Report from smatch: slirp/tcp_subr.c:127 tcp_respond(17) error: we previously assumed 'tp' could be null (see line 124) Return if 'tp' is NULL. Signed-off-by: Stefan Weil --- slirp/tcp_subr.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slirp/tcp_subr.c b/slirp/tcp_s