summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-08-16 18:16:50 +0000
committerStefan Schmidt <s.schmidt@samsung.com>2019-08-19 09:42:05 +0200
commita6e679f830b85e0f6512bd8b3c102d07875e07f4 (patch)
tree7df8c28ca118961066548a66fac271cc16e75420 /src/tests
parentae5fbe49ef9257a75da3c23febe2afa88f0751e2 (diff)
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
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/eo_cxx/eo_cxx_suite.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/eo_cxx/eo_cxx_suite.cc b/src/tests/eo_cxx/eo_cxx_suite.cc
index 11e014ffff..8fbc30aaeb 100644
--- a/src/tests/eo_cxx/eo_cxx_suite.cc
+++ b/src/tests/eo_cxx/eo_cxx_suite.cc
@@ -7,6 +7,7 @@
7 7
8static const Efl_Test_Case etc[] = { 8static const Efl_Test_Case etc[] = {
9 { NULL, NULL } 9 { NULL, NULL }
10 , { NULL, NULL }
10}; 11};
11 12
12int 13int