apps/passwd.c:369: error: BUFFER_OVERRUN_L2
  Offset: [0, 16] Size: 16.
Showing all 5 steps of the trace


apps/passwd.c:368:18: <Offset trace>
366.   
367.   		/* silly output permutation */
368.   		for (dest = 0, source = 0; dest < 14; dest++, source = (source + 6) % 17)
                        ^
369.   			buf_perm[dest] = buf[source];
370.   		buf_perm[14] = buf[5];

apps/passwd.c:368:18: Assignment
366.   
367.   		/* silly output permutation */
368.   		for (dest = 0, source = 0; dest < 14; dest++, source = (source + 6) % 17)
                        ^
369.   			buf_perm[dest] = buf[source];
370.   		buf_perm[14] = buf[5];

apps/passwd.c:295:1: <Length trace>
293.    * I've ever encountered.)
294.    */
295. > static char *md5crypt(const char *passwd, const char *magic, const char *salt)
296.   	{
297.   	static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */

apps/passwd.c:295:1: Array declaration
293.    * I've ever encountered.)
294.    */
295. > static char *md5crypt(const char *passwd, const char *magic, const char *salt)
296.   	{
297.   	static char out_buf[6 + 9 + 24 + 2]; /* "$apr1$..salt..$.......md5hash..........\0" */

apps/passwd.c:369:21: Array access: Offset: [0, 16] Size: 16
367.   		/* silly output permutation */
368.   		for (dest = 0, source = 0; dest < 14; dest++, source = (source + 6) % 17)
369.   			buf_perm[dest] = buf[source];
                           ^
370.   		buf_perm[14] = buf[5];
371.   		buf_perm[15] = buf[11];
