Re: [iproute PATCH v2] ipaddress: Fix segfault in 'addr showdump'

2017-09-20 Thread Stephen Hemminger
On Wed, 13 Sep 2017 11:20:34 +0200 Phil Sutter wrote: > Obviously, 'addr showdump' feature wasn't adjusted to json output > support. As a consequence, calls to print_string() in print_addrinfo() > tried to dereference a NULL FILE pointer. > > Cc: Julien Fortin > Fixes: d0e720111aad2 ("ip: ipadd

Re: [iproute PATCH v2] ipaddress: Fix segfault in 'addr showdump'

2017-09-14 Thread Julien Fortin
v2 looks good to me, thanks for catching this segfault. On Wed, Sep 13, 2017 at 2:20 AM, Phil Sutter wrote: > Obviously, 'addr showdump' feature wasn't adjusted to json output > support. As a consequence, calls to print_string() in print_addrinfo() > tried to dereference a NULL FILE pointer. > >

[iproute PATCH v2] ipaddress: Fix segfault in 'addr showdump'

2017-09-13 Thread Phil Sutter
Obviously, 'addr showdump' feature wasn't adjusted to json output support. As a consequence, calls to print_string() in print_addrinfo() tried to dereference a NULL FILE pointer. Cc: Julien Fortin Fixes: d0e720111aad2 ("ip: ipaddress.c: add support for json output") Signed-off-by: Phil Sutter --