crypto/srp/srp_vfy.c:546: error: BUFFER_OVERRUN_L3
  Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_bin2bn`.
Showing all 13 steps of the trace


crypto/srp/srp_vfy.c:542:22: Call
540.           if ((len = t_fromb64(tmp, N)) == 0)
541.               goto err;
542.           N_bn_alloc = BN_bin2bn(tmp, len, NULL);
                            ^
543.           N_bn = N_bn_alloc;
544.           if ((len = t_fromb64(tmp, g)) == 0)

crypto/bn/bn_lib.c:475:1: Parameter `*ret->d`
  473.   }
  474.   
  475. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  476.   {
  477.       unsigned int i, m;

crypto/srp/srp_vfy.c:546:22: Call
544.           if ((len = t_fromb64(tmp, g)) == 0)
545.               goto err;
546.           g_bn_alloc = BN_bin2bn(tmp, len, NULL);
                            ^
547.           g_bn = g_bn_alloc;
548.           defgNid = "*";

crypto/bn/bn_lib.c:475:1: Parameter `*ret->d`
  473.   }
  474.   
  475. > BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret)
  476.   {
  477.       unsigned int i, m;

crypto/bn/bn_lib.c:497:9: Call
  495.       i = ((n - 1) / BN_BYTES) + 1;
  496.       m = ((n - 1) % (BN_BYTES));
  497.       if (bn_wexpand(ret, (int)i) == NULL) {
                 ^
  498.           BN_free(bn);
  499.           return NULL;

crypto/bn/bn_lib.c:1016:1: Parameter `*a->d`
    1014.   }
    1015.   
    1016. > BIGNUM *bn_wexpand(BIGNUM *a, int words)
    1017.   {
    1018.       return (words <= a->dmax) ? a : bn_expand2(a, words);

crypto/bn/bn_lib.c:1018:37: Call
    1016.   BIGNUM *bn_wexpand(BIGNUM *a, int words)
    1017.   {
    1018.       return (words <= a->dmax) ? a : bn_expand2(a, words);
                                                ^
    1019.   }
    1020.   

crypto/bn/bn_lib.c:323:1: Parameter `*b->d`
      321.    */
      322.   
      323. > BIGNUM *bn_expand2(BIGNUM *b, int words)
      324.   {
      325.       bn_check_top(b);

crypto/bn/bn_lib.c:328:23: Call
      326.   
      327.       if (words > b->dmax) {
      328.           BN_ULONG *a = bn_expand_internal(b, words);
                                   ^
      329.           if (!a)
      330.               return NULL;

crypto/bn/bn_lib.c:246:1: <Length trace>
244.   /* This is used by bn_expand2() */
245.   /* The caller MUST check that words > b->dmax before calling this */
246. > static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
247.   {
248.       BN_ULONG *A, *a = NULL;

crypto/bn/bn_lib.c:246:1: Parameter `*b->d`
        244.   /* This is used by bn_expand2() */
        245.   /* The caller MUST check that words > b->dmax before calling this */
        246. > static BN_ULONG *bn_expand_internal(const BIGNUM *b, int words)
        247.   {
        248.       BN_ULONG *A, *a = NULL;

crypto/bn/bn_lib.c:272:5: Assignment
        270.   
        271.   #if 1
        272.       B = b->d;
                   ^
        273.       /* Check if the previous number needs to be copied */
        274.       if (B != NULL) {

crypto/bn/bn_lib.c:289:18: Array access: Offset: [3, +oo] (⇐ [0, +oo] + 3) Size: [0, 8388607] by call to `BN_bin2bn` 
        287.               a1 = B[1];
        288.               a2 = B[2];
        289.               a3 = B[3];
                                ^
        290.               A[0] = a0;
        291.               A[1] = a1;
