apps/apps.c:1362: error: BUFFER_OVERRUN_L2
  Offset: [0, 1024] Size: 1024 by call to `a2i_ASN1_INTEGER`.
Showing all 7 steps of the trace


apps/apps.c:1340:1: Array declaration
1338.   #undef BSIZE
1339.   #define BSIZE 256
1340. > BIGNUM *load_serial(const char *serialfile, int create, ASN1_INTEGER **retai)
1341.   {
1342.       BIO *in = NULL;

apps/apps.c:1362:14: Call
1360.               BIO_printf(bio_err, "Out of memory\n");
1361.       } else {
1362.           if (!a2i_ASN1_INTEGER(in, ai, buf, 1024)) {
                     ^
1363.               BIO_printf(bio_err, "unable to load number from %s\n",
1364.                          serialfile);

crypto/asn1/f_int.c:78:14: <Offset trace>
76.           again = (buf[i - 1] == '\\');
77.   
78.           for (j = 0; j < i; j++) {
                   ^
79.   #ifndef CHARSET_EBCDIC
80.               if (!(((buf[j] >= '0') && (buf[j] <= '9')) ||

crypto/asn1/f_int.c:78:14: Assignment
  76.           again = (buf[i - 1] == '\\');
  77.   
  78.           for (j = 0; j < i; j++) {
                     ^
  79.   #ifndef CHARSET_EBCDIC
  80.               if (!(((buf[j] >= '0') && (buf[j] <= '9')) ||

crypto/asn1/f_int.c:54:1: <Length trace>
52.   }
53.   
54. > int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size)
55.   {
56.       int i, j, k, m, n, again, bufsize;

crypto/asn1/f_int.c:54:1: Parameter `*buf`
  52.   }
  53.   
  54. > int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size)
  55.   {
  56.       int i, j, k, m, n, again, bufsize;

crypto/asn1/f_int.c:96:9: Array access: Offset: [0, 1024] Size: 1024 by call to `a2i_ASN1_INTEGER` 
  94.               }
  95.           }
  96.           buf[i] = '\0';
                ^
  97.           /*
  98.            * We have now cleared all the crap off the end of the line
