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


apps/passwd.c:365:24: <Offset trace>
363.   
364.           /* silly output permutation */
365.           for (dest = 0, source = 0; dest < 14;
                              ^
366.                dest++, source = (source + 6) % 17)
367.               buf_perm[dest] = buf[source];

apps/passwd.c:365:24: Assignment
363.   
364.           /* silly output permutation */
365.           for (dest = 0, source = 0; dest < 14;
                              ^
366.                dest++, source = (source + 6) % 17)
367.               buf_perm[dest] = buf[source];

apps/passwd.c:294:1: <Length trace>
292.    * application of the NIH principle I've ever encountered.)
293.    */
294. > static char *md5crypt(const char *passwd, const char *magic, const char *salt)
295.   {
296.       /* "$apr1$..salt..$.......md5hash..........\0" */

apps/passwd.c:294:1: Array declaration
292.    * application of the NIH principle I've ever encountered.)
293.    */
294. > static char *md5crypt(const char *passwd, const char *magic, const char *salt)
295.   {
296.       /* "$apr1$..salt..$.......md5hash..........\0" */

apps/passwd.c:367:30: Array access: Offset: [0, 16] Size: 16
365.           for (dest = 0, source = 0; dest < 14;
366.                dest++, source = (source + 6) % 17)
367.               buf_perm[dest] = buf[source];
                                    ^
368.           buf_perm[14] = buf[5];
369.           buf_perm[15] = buf[11];
