test/x509aux.c:32: error: BUFFER_OVERRUN_L2
  Offset: [max(0, `num`), 399] Size: 100 by call to `test_get_argument`.
Showing all 7 steps of the trace


test/x509aux.c:22:1: Parameter `num`
20.   #include "testutil.h"
21.   
22. > static int test_certs(int num)
23.   {
24.       int c;

test/x509aux.c:32:28: Call
30.       typedef int (*i2d_X509_t)(X509 *, unsigned char **);
31.       int err = 0;
32.       BIO *fp = BIO_new_file(test_get_argument(num), "r");
                                 ^
33.       X509 *reuse = NULL;
34.   

test/testutil/options.c:24:1: <Offset trace>
22.   }
23.   
24. > char *test_get_argument(size_t n)
25.   {
26.       char **argv = opt_rest();

test/testutil/options.c:24:1: Parameter `n`
  22.   }
  23.   
  24. > char *test_get_argument(size_t n)
  25.   {
  26.       char **argv = opt_rest();

test/testutil/options.c:16:1: <Length trace>
14.   
15.   
16. > static int used[100] = { 0 };
17.   
18.   

test/testutil/options.c:16:1: Array declaration
  14.   
  15.   
  16. > static int used[100] = { 0 };
  17.   
  18.   

test/testutil/options.c:31:5: Array access: Offset: [max(0, num), 399] Size: 100 by call to `test_get_argument` 
  29.       if ((int)n >= opt_num_rest() || argv == NULL)
  30.           return NULL;
  31.       used[n] = 1;
            ^
  32.       return argv[n];
  33.   }
