eo-cxx: Add second NULL sentinel to avoid buffer overrun by efl_check.h

efl_check.h assumes at least one element exists when checking
parallelization and accesses the second element of the array without
checking its size first. Adding a second NULL sentinel fixes the problem.

T8141
Differential Revision: https://phab.enlightenment.org/D9588
This commit is contained in:
Felipe Magno de Almeida 2019-08-16 18:16:50 +00:00 committed by Stefan Schmidt
parent ae5fbe49ef
commit a6e679f830
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@
static const Efl_Test_Case etc[] = {
{ NULL, NULL }
, { NULL, NULL }
};
int