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


apps/req.c:1374:1: <Offset trace>
1372.   
1373.   
1374. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1375.   	     int nid, int n_min, int n_max, unsigned long chtype)
1376.   	{

apps/req.c:1374:1: Array declaration
1372.   
1373.   
1374. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1375.   	     int nid, int n_min, int n_max, unsigned long chtype)
1376.   	{

apps/req.c:1412:2: Assignment
1410.   	else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);
1411.   
1412.   	i=strlen(buf);
         ^
1413.   	if (buf[i-1] != '\n')
1414.   		{

apps/req.c:1374:1: <Length trace>
1372.   
1373.   
1374. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1375.   	     int nid, int n_min, int n_max, unsigned long chtype)
1376.   	{

apps/req.c:1374:1: Array declaration
1372.   
1373.   
1374. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1375.   	     int nid, int n_min, int n_max, unsigned long chtype)
1376.   	{

apps/req.c:1413:6: Array access: Offset: [-1, +oo] Size: 1024
1411.   
1412.   	i=strlen(buf);
1413.   	if (buf[i-1] != '\n')
             ^
1414.   		{
1415.   		BIO_printf(bio_err,"weird input :-(\n");
