Fix out-of-bounds access to the array
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 24 Sep 2015 01:09:22 +0000 (18:09 -0700)
committerUze Choi <uzchoi@samsung.com>
Wed, 30 Sep 2015 10:32:18 +0000 (10:32 +0000)
commited227063379172827eca37fb52c73209db2c38f6
tree00d5d6cfa9f822426a9ec06f816c241134569af1
parent3a1e1bb2323709325565d7087dc3b71d5288a276
Fix out-of-bounds access to the array

The array has TIMEOUTS elements, so timeout_list[TIMEOUTS] is one
element past the end.

Change-Id: I42e7ef1a481840699a8dffff1406c4b42d42fde1
Signed-off-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/3017
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
extlibs/timer/timer.c