crypto/pem/pem_lib.c:722: error: BUFFER_OVERRUN_L1
  Offset: -5 Size: [1, 2147483644].
Showing all 7 steps of the trace


crypto/pem/pem_lib.c:676:1: <Offset trace>
674.   #endif
675.   
676. > int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
677.                    long *len)
678.   {

crypto/pem/pem_lib.c:676:1: Array declaration
674.   #endif
675.   
676. > int PEM_read_bio(BIO *bp, char **name, char **header, unsigned char **data,
677.                    long *len)
678.   {

crypto/pem/pem_lib.c:713:13: Assignment
711.   
712.           if (strncmp(buf, "-----BEGIN ", 11) == 0) {
713.               i = strlen(&(buf[11]));
                   ^
714.   
715.               if (strncmp(&(buf[11 + i - 6]), "-----\n", 6) != 0)

crypto/pem/pem_lib.c:717:18: <Length trace>
715.               if (strncmp(&(buf[11 + i - 6]), "-----\n", 6) != 0)
716.                   continue;
717.               if (!BUF_MEM_grow(nameB, i + 9)) {
                        ^
718.                   PEMerr(PEM_F_PEM_READ_BIO, ERR_R_MALLOC_FAILURE);
719.                   goto err;

crypto/pem/pem_lib.c:717:18: Call
715.               if (strncmp(&(buf[11 + i - 6]), "-----\n", 6) != 0)
716.                   continue;
717.               if (!BUF_MEM_grow(nameB, i + 9)) {
                        ^
718.                   PEMerr(PEM_F_PEM_READ_BIO, ERR_R_MALLOC_FAILURE);
719.                   goto err;

crypto/buffer/buffer.c:122:1: Parameter `*str->data`
  120.   }
  121.   
  122. > size_t BUF_MEM_grow(BUF_MEM *str, size_t len)
  123.   {
  124.       char *ret;

crypto/pem/pem_lib.c:722:13: Array access: Offset: -5 Size: [1, 2147483644]
720.               }
721.               memcpy(nameB->data, &(buf[11]), i - 6);
722.               nameB->data[i - 6] = '\0';
                   ^
723.               break;
724.           }
