apps/apps.c:498: error: BUFFER_OVERRUN_L2
  Offset added: [0, 2147483646] Size: 8192 by call to `BUF_strdup`.
Showing all 12 steps of the trace


apps/apps.c:428:1: Array declaration
426.   }
427.   
428. > static char *app_get_pass(char *arg, int keepbio)
429.   {
430.       char *tmp, tpass[APP_PASS_LEN];

apps/apps.c:498:12: Call
496.       if (tmp)
497.           *tmp = 0;
498.       return BUF_strdup(tpass);
                  ^
499.   }
500.   

crypto/buffer/buf_str.c:73:1: Parameter `*str`
  71.   }
  72.   
  73. > char *BUF_strdup(const char *str)
  74.   {
  75.       if (str == NULL)

crypto/buffer/buf_str.c:77:12: Call
  75.       if (str == NULL)
  76.           return NULL;
  77.       return BUF_strndup(str, strlen(str));
                   ^
  78.   }
  79.   

crypto/buffer/buf_str.c:87:11: <Offset trace>
85.           return NULL;
86.   
87.       siz = BUF_strnlen(str, siz);
                ^
88.   
89.       if (siz >= INT_MAX)

crypto/buffer/buf_str.c:87:11: Call
    85.           return NULL;
    86.   
    87.       siz = BUF_strnlen(str, siz);
                    ^
    88.   
    89.       if (siz >= INT_MAX)

crypto/buffer/buf_str.c:64:1: Parameter `*str`
      62.   #include <openssl/buffer.h>
      63.   
      64. > size_t BUF_strnlen(const char *str, size_t maxlen)
      65.   {
      66.       const char *p;

crypto/buffer/buf_str.c:70:5: Assignment
      68.       for (p = str; maxlen-- != 0 && *p != '\0'; ++p) ;
      69.   
      70.       return p - str;
                ^
      71.   }
      72.   

crypto/buffer/buf_str.c:87:5: Assignment
    85.           return NULL;
    86.   
    87.       siz = BUF_strnlen(str, siz);
              ^
    88.   
    89.       if (siz >= INT_MAX)

crypto/buffer/buf_str.c:80:1: <Length trace>
78.   }
79.   
80. > char *BUF_strndup(const char *str, size_t siz)
81.   {
82.       char *ret;

crypto/buffer/buf_str.c:80:1: Parameter `*str`
    78.   }
    79.   
    80. > char *BUF_strndup(const char *str, size_t siz)
    81.   {
    82.       char *ret;

crypto/buffer/buf_str.c:98:5: Array access: Offset added: [0, 2147483646] Size: 8192 by call to `BUF_strdup` 
    96.       }
    97.   
    98.       memcpy(ret, str, siz);
               ^
    99.       ret[siz] = '\0';
    100.   
