Wireshark-dev: [Wireshark-dev] New Coverity issues from new scanner/parser
From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Fri, 08 Apr 2016 10:28:43 +0200
Hi list,

After the merge of change 14719 (https://code.wireshark.org/review/#/c/14719/) a new series of 50 Coverity issues (CID-1358125 .. CID-1358175) has been recorded. They all indicate the same issue in every instantiation of the scanner, a "Dereference after null check" issue, eg.

CID 1358154 (#1 of 1): Dereference after null check (FORWARD_NULL)8. var_deref_op: Dereferencing null pointer yyg->yy_buffer_stack.
1254                        YY_CURRENT_BUFFER_LVALUE =
/wiretap/k12text.c
287#define YY_CURRENT_BUFFER_LVALUE yyg->yy_buffer_stack[yyg->yy_buffer_stack_top] 1255 k12text__create_buffer(yyin,YY_BUF_SIZE ,yyscanner);

While this work is fresh, could this be addressed?

Thanks,
Jaap