apps/passwd.c:807: error: BUFFER_OVERRUN_L3
  Offset: [0, 16] Size: [1, 17].
Showing all 5 steps of the trace


apps/passwd.c:784:9: <Offset trace>
782.       /* first make sure we have a salt */
783.       if (!passed_salt) {
784.           size_t saltlen = 0;
               ^
785.           size_t i;
786.   

apps/passwd.c:784:9: Assignment
782.       /* first make sure we have a salt */
783.       if (!passed_salt) {
784.           size_t saltlen = 0;
               ^
785.           size_t i;
786.   

apps/passwd.c:773:1: <Length trace>
771.   }
772.   
773. > static int do_passwd(int passed_salt, char **salt_p, char **salt_malloc_p,
774.                        char *passwd, BIO *out, int quiet, int table,
775.                        int reverse, size_t pw_maxlen, passwd_modes mode)

apps/passwd.c:773:1: Parameter `**salt_p`
771.   }
772.   
773. > static int do_passwd(int passed_salt, char **salt_p, char **salt_malloc_p,
774.                        char *passwd, BIO *out, int quiet, int table,
775.                        int reverse, size_t pw_maxlen, passwd_modes mode)

apps/passwd.c:807:9: Array access: Offset: [0, 16] Size: [1, 17]
805.           for (i = 0; i < saltlen; i++)
806.               (*salt_p)[i] = cov_2char[(*salt_p)[i] & 0x3f]; /* 6 bits */
807.           (*salt_p)[i] = 0;
               ^
808.   # ifdef CHARSET_EBCDIC
809.           /* The password encryption funtion will convert back to ASCII */
