apps/passwd.c:670: error: BUFFER_OVERRUN_L3
  Offset added: [-31, 64] Size: 64.
Showing all 5 steps of the trace


apps/passwd.c:534:9: <Offset trace>
532.       case '5':
533.           sha = EVP_sha256();
534.           buf_size = 32;
               ^
535.           break;
536.       case '6':

apps/passwd.c:534:9: Assignment
532.       case '5':
533.           sha = EVP_sha256();
534.           buf_size = 32;
               ^
535.           break;
536.       case '6':

apps/passwd.c:493:1: <Length trace>
491.    * (note that it's in the public domain)
492.    */
493. > static char *shacrypt(const char *passwd, const char *magic, const char *salt)
494.   {
495.       /* Prefix for optional rounds specification.  */

apps/passwd.c:493:1: Array declaration
491.    * (note that it's in the public domain)
492.    */
493. > static char *shacrypt(const char *passwd, const char *magic, const char *salt)
494.   {
495.       /* Prefix for optional rounds specification.  */

apps/passwd.c:670:5: Array access: Offset added: [-31, 64] Size: 64
668.       for (cp = s_bytes, n = salt_len; n > buf_size; n -= buf_size, cp += buf_size)
669.           memcpy(cp, temp_buf, buf_size);
670.       memcpy(cp, temp_buf, n);
           ^
671.   
672.       for (n = 0; n < rounds; n++) {
