Re: [nft PATCH] parser_json: Fix crash in error reporting

2018-08-30 Thread Pablo Neira Ayuso
On Wed, Aug 29, 2018 at 04:25:09PM +0200, Phil Sutter wrote: > When trying to add a chain to a non-existing table, error reporting > tries to dereference indesc pointer of the table's location. Hence make > sure the latter is initialized correctly. Applied, thanks Phil.

[nft PATCH] parser_json: Fix crash in error reporting

2018-08-29 Thread Phil Sutter
When trying to add a chain to a non-existing table, error reporting tries to dereference indesc pointer of the table's location. Hence make sure the latter is initialized correctly. Signed-off-by: Phil Sutter --- src/parser_json.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-)