crypto/pem/pem_pkey.c:128: error: BUFFER_OVERRUN_L3
  Offset: [-11, +oo] Size: [1, 241] by call to `pem_check_suffix`.
Showing all 10 steps of the trace


crypto/pem/pem_pkey.c:123:10: Call
121.       EVP_PKEY *ret = NULL;
122.   
123.       if (!PEM_bytes_read_bio(&data, &len, &nm, PEM_STRING_PARAMETERS,
                ^
124.                               bp, 0, NULL))
125.           return NULL;

crypto/pem/pem_lib.c:291:12: Call
  289.                          const char *name, BIO *bp, pem_password_cb *cb,
  290.                          void *u) {
  291.       return pem_bytes_read_bio_flags(pdata, plen, pnm, name, bp, cb, u,
                    ^
  292.                                       PEM_FLAG_EAY_COMPATIBLE);
  293.   }

crypto/pem/pem_lib.c:260:14: Call
    258.           pem_free(header, flags);
    259.           pem_free(data, flags);
    260.           if (!PEM_read_bio_ex(bp, &nm, &header, &data, &len, flags)) {
                        ^
    261.               if (ERR_GET_REASON(ERR_peek_error()) == PEM_R_NO_START_LINE)
    262.                   ERR_add_error_data(2, "Expecting: ", name);

crypto/pem/pem_lib.c:958:5: Assignment
      956.       }
      957.       BIO_read(headerB, *header, headerlen);
      958.       (*header)[headerlen] = '\0';
                 ^
      959.       BIO_read(dataB, *data, len);
      960.       *len_out = len;

crypto/pem/pem_pkey.c:128:17: Call
126.       p = data;
127.   
128.       if ((slen = pem_check_suffix(nm, "PARAMETERS")) > 0) {
                       ^
129.           ret = EVP_PKEY_new();
130.           if (ret == NULL)

crypto/pem/pem_lib.c:985:1: <Length trace>
983.    */
984.   
985. > int pem_check_suffix(const char *pem_str, const char *suffix)
986.   {
987.       int pem_len = strlen(pem_str);

crypto/pem/pem_lib.c:985:1: Parameter `*pem_str`
  983.    */
  984.   
  985. > int pem_check_suffix(const char *pem_str, const char *suffix)
  986.   {
  987.       int pem_len = strlen(pem_str);

crypto/pem/pem_lib.c:992:5: Assignment
  990.       if (suffix_len + 1 >= pem_len)
  991.           return 0;
  992.       p = pem_str + pem_len - suffix_len;
             ^
  993.       if (strcmp(p, suffix))
  994.           return 0;

crypto/pem/pem_lib.c:995:5: Assignment
  993.       if (strcmp(p, suffix))
  994.           return 0;
  995.       p--;
             ^
  996.       if (*p != ' ')
  997.           return 0;

crypto/pem/pem_lib.c:996:9: Array access: Offset: [-11, +oo] Size: [1, 241] by call to `pem_check_suffix` 
  994.           return 0;
  995.       p--;
  996.       if (*p != ' ')
                 ^
  997.           return 0;
  998.       return p - pem_str;
