ssl/ssl_rsa.c:876: error: BUFFER_OVERRUN_L3
  Offset added: [48, +oo] (⇐ [0, +oo] + 48) Size: [1, +oo] by call to `SSL_CTX_add_server_custom_ext`.
Showing all 10 steps of the trace


ssl/ssl_rsa.c:843:1: Parameter `ctx->cert->srv_ext.meths_count`
841.    * the included extensions.
842.    */
843. > static int serverinfo_process_buffer(const unsigned char *serverinfo,
844.                                        size_t serverinfo_length, SSL_CTX *ctx)
845.   {

ssl/ssl_rsa.c:876:35: Call
874.               }
875.   
876.               if (!have_ext_cbs && !SSL_CTX_add_server_custom_ext(ctx, ext_type,
                                         ^
877.                                                                   serverinfo_srv_add_cb,
878.                                                                   NULL, NULL,

ssl/t1_ext.c:277:1: Parameter `ctx->cert->srv_ext.meths_count`
  275.   }
  276.   
  277. > int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
  278.                                     custom_ext_add_cb add_cb,
  279.                                     custom_ext_free_cb free_cb,

ssl/t1_ext.c:284:12: Call
  282.                                     void *parse_arg)
  283.   {
  284.       return custom_ext_meth_add(&ctx->cert->srv_ext, ext_type,
                    ^
  285.                                  add_cb, free_cb, add_arg, parse_cb, parse_arg);
  286.   }

ssl/t1_ext.c:201:1: <Length trace>
199.   
200.   /* Set callbacks for a custom extension. */
201. > static int custom_ext_meth_add(custom_ext_methods *exts,
202.                                  unsigned int ext_type,
203.                                  custom_ext_add_cb add_cb,

ssl/t1_ext.c:201:1: Parameter `exts->meths_count`
    199.   
    200.   /* Set callbacks for a custom extension. */
    201. > static int custom_ext_meth_add(custom_ext_methods *exts,
    202.                                  unsigned int ext_type,
    203.                                  custom_ext_add_cb add_cb,

ssl/t1_ext.c:226:9: Call
    224.           return 0;
    225.       /* Search for duplicate */
    226.       if (custom_ext_find(exts, ext_type))
                   ^
    227.           return 0;
    228.       exts->meths = OPENSSL_realloc(exts->meths,

ssl/t1_ext.c:62:1: Parameter `exts->meths_count`
      60.   
      61.   /* Find a custom extension from the list. */
      62. > static custom_ext_method *custom_ext_find(const custom_ext_methods *exts,
      63.                                             unsigned int ext_type)
      64.   {

ssl/t1_ext.c:237:5: Assignment
    235.       }
    236.   
    237.       meth = exts->meths + exts->meths_count;
               ^
    238.       memset(meth, 0, sizeof(*meth));
    239.       meth->parse_cb = parse_cb;

ssl/t1_ext.c:238:5: Array access: Offset added: [48, +oo] (⇐ [0, +oo] + 48) Size: [1, +oo] by call to `SSL_CTX_add_server_custom_ext` 
    236.   
    237.       meth = exts->meths + exts->meths_count;
    238.       memset(meth, 0, sizeof(*meth));
               ^
    239.       meth->parse_cb = parse_cb;
    240.       meth->add_cb = add_cb;
