crypto/bio/b_dump.c:63: error: BUFFER_OVERRUN_L3
  Offset: [-1, +oo] (⇐ [-1, 285] + [0, +oo]) Size: 289 by call to `BIO_snprintf`.
Showing all 13 steps of the trace


crypto/bio/b_dump.c:29:1: Array declaration
27.   }
28.   
29. > int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
30.                          void *u, const char *s, int len, int indent)
31.   {

crypto/bio/b_dump.c:63:21: Call
61.                   } else {
62.                       ch = ((unsigned char)*(s + i * dump_width + j)) & 0xff;
63.                       BIO_snprintf(buf + n, 4, "%02x%c", ch,
                          ^
64.                                    j == 7 ? '-' : ' ');
65.                   }

crypto/bio/b_print.c:895:1: Parameter `*buf`
  893.    * function should be renamed, but to what?)
  894.    */
  895. > int BIO_snprintf(char *buf, size_t n, const char *format, ...)
  896.   {
  897.       va_list args;

crypto/bio/b_print.c:902:11: Call
  900.       va_start(args, format);
  901.   
  902.       ret = BIO_vsnprintf(buf, n, format, args);
                   ^
  903.   
  904.       va_end(args);

crypto/bio/b_print.c:908:1: Parameter `*buf`
    906.   }
    907.   
    908. > int BIO_vsnprintf(char *buf, size_t n, const char *format, va_list args)
    909.   {
    910.       size_t retlen;

crypto/bio/b_print.c:913:9: Call
    911.       int truncated;
    912.   
    913.       if(!_dopr(&buf, NULL, &n, &retlen, &truncated, format, args))
                   ^
    914.           return -1;
    915.   

crypto/bio/b_print.c:83:1: Parameter `*maxlen`
      81.   #define OSSL_MAX(p,q) ((p >= q) ? p : q)
      82.   
      83. > static int
      84.   _dopr(char **sbuffer,
      85.         char **buffer,

crypto/bio/b_print.c:114:21: Call
      112.                   state = DP_S_FLAGS;
      113.               else
      114.                   if(!doapr_outch(sbuffer, buffer, &currlen, maxlen, ch))
                                 ^
      115.                       return 0;
      116.               ch = *format++;

crypto/bio/b_print.c:804:1: <Offset trace>
802.   #define BUFFER_INC  1024
803.   
804. > static int
805.   doapr_outch(char **sbuffer,
806.               char **buffer, size_t *currlen, size_t *maxlen, int c)

crypto/bio/b_print.c:804:1: Parameter `*maxlen`
        802.   #define BUFFER_INC  1024
        803.   
        804. > static int
        805.   doapr_outch(char **sbuffer,
        806.               char **buffer, size_t *currlen, size_t *maxlen, int c)

crypto/bio/b_print.c:804:1: <Length trace>
802.   #define BUFFER_INC  1024
803.   
804. > static int
805.   doapr_outch(char **sbuffer,
806.               char **buffer, size_t *currlen, size_t *maxlen, int c)

crypto/bio/b_print.c:804:1: Parameter `**sbuffer`
        802.   #define BUFFER_INC  1024
        803.   
        804. > static int
        805.   doapr_outch(char **sbuffer,
        806.               char **buffer, size_t *currlen, size_t *maxlen, int c)

crypto/bio/b_print.c:839:13: Array access: Offset: [-1, +oo] (⇐ [-1, 285] + [0, +oo]) Size: 289 by call to `BIO_snprintf` 
        837.       if (*currlen < *maxlen) {
        838.           if (*sbuffer)
        839.               (*sbuffer)[(*currlen)++] = (char)c;
                           ^
        840.           else
        841.               (*buffer)[(*currlen)++] = (char)c;
