Fix apparent possible memory overrun in processing_queue
authorTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 14 Sep 2012 20:33:55 +0000 (13:33 -0700)
committerTim Pepper <timothy.c.pepper@linux.intel.com>
Fri, 14 Sep 2012 20:33:55 +0000 (13:33 -0700)
commitccfb139a220cc8da2092198a409626d89c4c3667
tree7647bba595976d53eca059cf89eb12a4b4b83024
parent6a4bdee6efac6ebe98763d97d705ab6455cc4990
Fix apparent possible memory overrun in processing_queue

The queue is a simple array of strings of size defined by:
  #define MAX_PROCESSING_OOPS 10
but the add_to / remove_from functions were hard coded to wrap the tail and
head array indices at 100.

Signed-off-by: Tim Pepper <timothy.c.pepper@linux.intel.com>
src/coredump.c