apps/req.c:1014: error: BUFFER_OVERRUN_L3
  Offset: [-1, +oo] Size: 1024.
Showing all 6 steps of the trace


apps/req.c:982:1: <Offset trace>
980.   	}
981.   
982. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
983.   	     int nid, int min, int max)
984.   	{

apps/req.c:982:1: Array declaration
980.   	}
981.   
982. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
983.   	     int nid, int min, int max)
984.   	{

apps/req.c:1013:2: Assignment
1011.   	else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);
1012.   
1013.   	i=strlen(buf);
         ^
1014.   	if (buf[i-1] != '\n')
1015.   		{

apps/req.c:982:1: <Length trace>
980.   	}
981.   
982. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
983.   	     int nid, int min, int max)
984.   	{

apps/req.c:982:1: Array declaration
980.   	}
981.   
982. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
983.   	     int nid, int min, int max)
984.   	{

apps/req.c:1014:6: Array access: Offset: [-1, +oo] Size: 1024
1012.   
1013.   	i=strlen(buf);
1014.   	if (buf[i-1] != '\n')
             ^
1015.   		{
1016.   		BIO_printf(bio_err,"weird input :-(\n");
