]> git.cworth.org Git - fips/commit
Fix buffer overrun in accumulate_program_metrics
authorCarl Worth <cworth@cworth.org>
Fri, 25 Oct 2013 22:34:17 +0000 (15:34 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 28 Oct 2013 18:15:20 +0000 (11:15 -0700)
commit3b579d69622d53b95c6259daf0ecb4f5d2b1798b
tree046ac024d8e1a5496be192f3ab850d00bbb9f2c2
parent6dcb864fcfa77c4bf4eb7e1c04f00e53f9fee446
Fix buffer overrun in accumulate_program_metrics

The convention for the op_metrics array in the context is that callers
do not index it directly, but instead call ctx_get_op_metrics (which
will grow tha array if needed first).
metrics.c