The CWE-125 vulnerability at line 40 is due to an "Incorrect Index (Array Index Out of Bounds) or Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out of Bounds) with Incorrect Index (Array Index Out