crypto/des/rpc_enc.c:78: error: BUFFER_OVERRUN_L2
  Offset: [-2, 27] Size: 16 by call to `des_ecb_encrypt`.
Showing all 10 steps of the trace


crypto/des/rpc_enc.c:69:1: Array declaration
67.   #endif
68.   
69. > int _des_crypt(char *buf, int len, struct desparams *desp)
70.   	{
71.   	des_key_schedule ks;

crypto/des/rpc_enc.c:78:3: Call
76.   
77.   	if (desp->des_mode == CBC)
78.   		des_ecb_encrypt(desp->UDES.UDES_buf,desp->UDES.UDES_buf,ks,
        ^
79.   				enc);
80.   	else

crypto/des/ecb_enc.c:106:1: Parameter `*ks`
  104.   		
  105.   
  106. > void des_ecb_encrypt(const des_cblock in, des_cblock out, des_key_schedule ks,
  107.   	     int enc)
  108.   	{

crypto/des/ecb_enc.c:114:2: Call
  112.   	c2l(in,l); ll[0]=l;
  113.   	c2l(in,l); ll[1]=l;
  114.   	des_encrypt(ll,ks,enc);
          ^
  115.   	l=ll[0]; l2c(l,out);
  116.   	l=ll[1]; l2c(l,out);

crypto/des/des_enc.c:139:8: <Offset trace>
137.   		D_ENCRYPT(r,l, 0); /*  1 */
138.   #else
139.   		for (i=30; i>0; i-=8)
              ^
140.   			{
141.   			D_ENCRYPT(l,r,i-0); /* 16 */

crypto/des/des_enc.c:139:8: Assignment
    137.   		D_ENCRYPT(r,l, 0); /*  1 */
    138.   #else
    139.   		for (i=30; i>0; i-=8)
                  ^
    140.   			{
    141.   			D_ENCRYPT(l,r,i-0); /* 16 */

crypto/des/des_enc.c:61:1: <Length trace>
59.   #include "des_locl.h"
60.   
61. > void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
62.   	{
63.   	register DES_LONG l,r,t,u;

crypto/des/des_enc.c:61:1: Parameter `*ks`
    59.   #include "des_locl.h"
    60.   
    61. > void des_encrypt(DES_LONG *data, des_key_schedule ks, int enc)
    62.   	{
    63.   	register DES_LONG l,r,t,u;

crypto/des/des_enc.c:87:2: Assignment
    85.   	l=ROTATE(l,29)&0xffffffffL;
    86.   
    87.   	s=(DES_LONG *)ks;
           ^
    88.   	/* I don't know if it is worth the effort of loop unrolling the
    89.   	 * inner loop */

crypto/des/des_enc.c:143:4: Array access: Offset: [-2, 27] Size: 16 by call to `des_ecb_encrypt` 
    141.   			D_ENCRYPT(l,r,i-0); /* 16 */
    142.   			D_ENCRYPT(r,l,i-2); /* 15 */
    143.   			D_ENCRYPT(l,r,i-4); /* 14 */
              ^
    144.   			D_ENCRYPT(r,l,i-6); /* 13 */
    145.   			}
