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


apps/req.c:1271:1: <Offset trace>
1269.   
1270.   
1271. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1272.   	     int nid, int min, int max)
1273.   	{

apps/req.c:1271:1: Array declaration
1269.   
1270.   
1271. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1272.   	     int nid, int min, int max)
1273.   	{

apps/req.c:1301:2: Assignment
1299.   	else if ((buf[0] == '.') && (buf[1] == '\n')) return(1);
1300.   
1301.   	i=strlen(buf);
         ^
1302.   	if (buf[i-1] != '\n')
1303.   		{

apps/req.c:1271:1: <Length trace>
1269.   
1270.   
1271. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1272.   	     int nid, int min, int max)
1273.   	{

apps/req.c:1271:1: Array declaration
1269.   
1270.   
1271. > static int add_DN_object(X509_NAME *n, char *text, char *def, char *value,
1272.   	     int nid, int min, int max)
1273.   	{

apps/req.c:1302:6: Array access: Offset: [-1, +oo] Size: 1024
1300.   
1301.   	i=strlen(buf);
1302.   	if (buf[i-1] != '\n')
             ^
1303.   		{
1304.   		BIO_printf(bio_err,"weird input :-(\n");
