apps/rehash.c:204: error: BUFFER_OVERRUN_L3
  Offset: [0, 4095] Size: [1, 4096] by call to `add_entry`.
Showing all 12 steps of the trace


apps/rehash.c:171:1: Array declaration
169.    * This can be -1 if bad filename, or an error count.
170.    */
171. > static int handle_symlink(const char *filename, const char *fullpath)
172.   {
173.       unsigned int hash = 0;

apps/rehash.c:204:12: Call
202.       linktarget[n] = 0;
203.   
204.       return add_entry(type, hash, linktarget, NULL, 0, id);
                  ^
205.   }
206.   

apps/rehash.c:103:1: Parameter `filename->strlen`
  101.    * Process an entry; return number of errors.
  102.    */
  103. > static int add_entry(enum Type type, unsigned int hash, const char *filename,
  104.                         const unsigned char *digest, int need_symlink,
  105.                         unsigned short old_id)

apps/rehash.c:149:24: Call
  147.           *ep = nilhentry;
  148.           ep->old_id = ~0;
  149.           ep->filename = OPENSSL_strdup(filename);
                                ^
  150.           if (bp->last_entry)
  151.               bp->last_entry->next = ep;

crypto/o_str.c:27:1: <Offset trace>
25.   }
26.   
27. > char *CRYPTO_strdup(const char *str, const char* file, int line)
28.   {
29.       char *ret;

crypto/o_str.c:27:1: Parameter `str->strlen`
    25.   }
    26.   
    27. > char *CRYPTO_strdup(const char *str, const char* file, int line)
    28.   {
    29.       char *ret;

crypto/o_str.c:27:1: <Length trace>
25.   }
26.   
27. > char *CRYPTO_strdup(const char *str, const char* file, int line)
28.   {
29.       char *ret;

crypto/o_str.c:27:1: Parameter `str->strlen`
    25.   }
    26.   
    27. > char *CRYPTO_strdup(const char *str, const char* file, int line)
    28.   {
    29.       char *ret;

crypto/o_str.c:33:11: Call
    31.       if (str == NULL)
    32.           return NULL;
    33.       ret = CRYPTO_malloc(strlen(str) + 1, file, line);
                    ^
    34.       if (ret != NULL)
    35.           strcpy(ret, str);

crypto/mem.c:178:9: Assignment
      176.   
      177.       if (num == 0)
      178.           return NULL;
                     ^
      179.   
      180.       FAILTEST();

crypto/o_str.c:33:5: Assignment
    31.       if (str == NULL)
    32.           return NULL;
    33.       ret = CRYPTO_malloc(strlen(str) + 1, file, line);
              ^
    34.       if (ret != NULL)
    35.           strcpy(ret, str);

crypto/o_str.c:35:9: Array access: Offset: [0, 4095] Size: [1, 4096] by call to `add_entry` 
    33.       ret = CRYPTO_malloc(strlen(str) + 1, file, line);
    34.       if (ret != NULL)
    35.           strcpy(ret, str);
                  ^
    36.       return ret;
    37.   }
