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


apps/req.c:1514:1: <Offset trace>
1512.   
1513.   
1514. > static int add_DN_object(X509_NAME *n, char *text, const char *def, char *value,
1515.   	     int nid, int n_min, int n_max, unsigned long chtype, int mval)
1516.   	{

apps/req.c:1514:1: Array declaration
1512.   
1513.   
1514. > static int add_DN_object(X509_NAME *n, char *text, const char *def, char *value,
1515.   	     int nid, int n_min, int n_max, unsigned long chtype, int mval)
1516.   	{

apps/req.c:1552:2: Assignment
1550.   	else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);
1551.   
1552.   	i=strlen(buf);
         ^
1553.   	if (buf[i-1] != '\n')
1554.   		{

apps/req.c:1514:1: <Length trace>
1512.   
1513.   
1514. > static int add_DN_object(X509_NAME *n, char *text, const char *def, char *value,
1515.   	     int nid, int n_min, int n_max, unsigned long chtype, int mval)
1516.   	{

apps/req.c:1514:1: Array declaration
1512.   
1513.   
1514. > static int add_DN_object(X509_NAME *n, char *text, const char *def, char *value,
1515.   	     int nid, int n_min, int n_max, unsigned long chtype, int mval)
1516.   	{

apps/req.c:1553:6: Array access: Offset: [-1, +oo] Size: 1024
1551.   
1552.   	i=strlen(buf);
1553.   	if (buf[i-1] != '\n')
             ^
1554.   		{
1555.   		BIO_printf(bio_err,"weird input :-(\n");
