ssl/ssl_rsa.c:828: 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:795:1: Parameter `ctx->cert->srv_ext.meths_count`
793.    * the included extensions.
794.    */
795. > static int serverinfo_process_buffer(const unsigned char *serverinfo,
796.                                        size_t serverinfo_length, SSL_CTX *ctx)
797.   {

ssl/ssl_rsa.c:828:35: Call
826.               }
827.   
828.               if (!have_ext_cbs && !SSL_CTX_add_server_custom_ext(ctx, ext_type,
                                         ^
829.                                                                   serverinfo_srv_add_cb,
830.                                                                   NULL, NULL,

ssl/t1_ext.c:234:1: Parameter `ctx->cert->srv_ext.meths_count`
  232.   }
  233.   
  234. > int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
  235.                                     custom_ext_add_cb add_cb,
  236.                                     custom_ext_free_cb free_cb,

ssl/t1_ext.c:241:12: Call
  239.                                     void *parse_arg)
  240.   {
  241.       return custom_ext_meth_add(&ctx->cert->srv_ext, ext_type,
                    ^
  242.                                  add_cb, free_cb, add_arg, parse_cb, parse_arg);
  243.   }

ssl/t1_ext.c:156:1: <Length trace>
154.   
155.   /* Set callbacks for a custom extension. */
156. > static int custom_ext_meth_add(custom_ext_methods *exts,
157.                                  unsigned int ext_type,
158.                                  custom_ext_add_cb add_cb,

ssl/t1_ext.c:156:1: Parameter `exts->meths_count`
    154.   
    155.   /* Set callbacks for a custom extension. */
    156. > static int custom_ext_meth_add(custom_ext_methods *exts,
    157.                                  unsigned int ext_type,
    158.                                  custom_ext_add_cb add_cb,

ssl/t1_ext.c:181:9: Call
    179.           return 0;
    180.       /* Search for duplicate */
    181.       if (custom_ext_find(exts, ext_type))
                   ^
    182.           return 0;
    183.       tmp = OPENSSL_realloc(exts->meths,

ssl/t1_ext.c:17:1: Parameter `exts->meths_count`
      15.   
      16.   /* Find a custom extension from the list. */
      17. > static custom_ext_method *custom_ext_find(const custom_ext_methods *exts,
      18.                                             unsigned int ext_type)
      19.   {

ssl/t1_ext.c:194:5: Assignment
    192.   
    193.       exts->meths = tmp;
    194.       meth = exts->meths + exts->meths_count;
               ^
    195.       memset(meth, 0, sizeof(*meth));
    196.       meth->parse_cb = parse_cb;

ssl/t1_ext.c:195:5: Array access: Offset added: [48, +oo] (⇐ [0, +oo] + 48) Size: [1, +oo] by call to `SSL_CTX_add_server_custom_ext` 
    193.       exts->meths = tmp;
    194.       meth = exts->meths + exts->meths_count;
    195.       memset(meth, 0, sizeof(*meth));
               ^
    196.       meth->parse_cb = parse_cb;
    197.       meth->add_cb = add_cb;
