[Qemu-devel] [PATCH] net: Fix a potential segfault

2018-06-10 Thread Lin Ma
Signed-off-by: Lin Ma --- net/net.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net/net.c b/net/net.c index efb9eaf779..f89790be4a 100644 --- a/net/net.c +++ b/net/net.c @@ -1093,9 +1093,12 @@ static int net_client_init(QemuOpts *opts, bool is_netdev, Error **err

Re: [Qemu-devel] [PATCH] net: Fix a potential segfault

2018-06-10 Thread Thomas Huth
On 11.06.2018 07:53, Lin Ma wrote: > Signed-off-by: Lin Ma > --- > net/net.c | 9 ++--- > 1 file changed, 6 insertions(+), 3 deletions(-) Please provide a proper patch description: How can you provoke that segfault? (i.e. a set of command line options) Thomas