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


apps/req.c:1160:1: <Offset trace>
1158.   }
1159.   
1160. > static int add_DN_object(X509_NAME *n, char *text, const char *def,
1161.                            char *value, int nid, int n_min, int n_max,
1162.                            unsigned long chtype, int mval)

apps/req.c:1160:1: Array declaration
1158.   }
1159.   
1160. > static int add_DN_object(X509_NAME *n, char *text, const char *def,
1161.                            char *value, int nid, int n_min, int n_max,
1162.                            unsigned long chtype, int mval)

apps/req.c:1196:5: Assignment
1194.       }
1195.   
1196.       i = strlen(buf);
            ^
1197.       if (buf[i - 1] != '\n') {
1198.           BIO_printf(bio_err, "weird input :-(\n");

apps/req.c:1160:1: <Length trace>
1158.   }
1159.   
1160. > static int add_DN_object(X509_NAME *n, char *text, const char *def,
1161.                            char *value, int nid, int n_min, int n_max,
1162.                            unsigned long chtype, int mval)

apps/req.c:1160:1: Array declaration
1158.   }
1159.   
1160. > static int add_DN_object(X509_NAME *n, char *text, const char *def,
1161.                            char *value, int nid, int n_min, int n_max,
1162.                            unsigned long chtype, int mval)

apps/req.c:1197:9: Array access: Offset: [-1, +oo] Size: 1024
1195.   
1196.       i = strlen(buf);
1197.       if (buf[i - 1] != '\n') {
                ^
1198.           BIO_printf(bio_err, "weird input :-(\n");
1199.           return 0;
