orcprogram-c: avoid running out of bounds of varnames
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 14 Dec 2015 13:46:52 +0000 (13:46 +0000)
committerLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 14 Dec 2015 13:56:31 +0000 (13:56 +0000)
commit951091788b8496868bf86b2f853f5214659e782a
treecfc11b5546223ea2b32a0a58c6799e6dadfdd9a5
parentd58514bf40428cf90c6d01cf8068b43b2693f731
orcprogram-c: avoid running out of bounds of varnames

These two for loops use varnames[i], since varname has 48 items avoid
running out of bounds by running the for loop up to that limit.

CID 1147004
orc/orclimits.h
orc/orcprogram-c.c