[{"id":1767697,"web_url":"http://patchwork.ozlabs.org/comment/1767697/","msgid":"<20170913091300.GS30364@orbyte.nwl.cc>","list_archive_url":null,"date":"2017-09-13T09:13:00","subject":"Re: [iproute PATCH] ipaddress: Fix segfault in 'addr showdump'","submitter":{"id":4285,"url":"http://patchwork.ozlabs.org/api/people/4285/","name":"Phil Sutter","email":"phil@nwl.cc"},"content":"On Tue, Sep 12, 2017 at 04:58:12PM +0200, Phil Sutter wrote:\n> Obviously, 'addr showdump' feature wasn't adjusted to json output\n> support. As a consequence, calls to print_string() in print_addrinfo()\n> tried to dereference a NULL FILE pointer.\n\nPlease ignore this patch - it generates incorrect json output. I'll send\na v2 which fixes that.\n\nThanks, Phil","headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xsbYF4g4Mz9sNr\n\tfor <patchwork-incoming@ozlabs.org>;\n\tWed, 13 Sep 2017 19:13:05 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751623AbdIMJND (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tWed, 13 Sep 2017 05:13:03 -0400","from orbyte.nwl.cc ([151.80.46.58]:50162 \"EHLO orbyte.nwl.cc\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1751317AbdIMJNC (ORCPT <rfc822;netdev@vger.kernel.org>);\n\tWed, 13 Sep 2017 05:13:02 -0400","from n0-1 by orbyte.nwl.cc with local (Exim 4.89)\n\t(envelope-from <n0-1@orbyte.nwl.cc>)\n\tid 1ds3jA-0006pm-MS; Wed, 13 Sep 2017 11:13:00 +0200"],"Date":"Wed, 13 Sep 2017 11:13:00 +0200","From":"Phil Sutter <phil@nwl.cc>","To":"Stephen Hemminger <stephen@networkplumber.org>","Cc":"netdev@vger.kernel.org, Hangbin Liu <liuhangbin@gmail.com>","Subject":"Re: [iproute PATCH] ipaddress: Fix segfault in 'addr showdump'","Message-ID":"<20170913091300.GS30364@orbyte.nwl.cc>","Mail-Followup-To":"Phil Sutter <phil@nwl.cc>,\n\tStephen Hemminger <stephen@networkplumber.org>,\n\tnetdev@vger.kernel.org, Hangbin Liu <liuhangbin@gmail.com>","References":"<20170912145812.15380-1-phil@nwl.cc>","MIME-Version":"1.0","Content-Type":"text/plain; charset=us-ascii","Content-Disposition":"inline","In-Reply-To":"<20170912145812.15380-1-phil@nwl.cc>","User-Agent":"Mutt/1.7.2 (2016-11-26)","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"}}]