ITS#7859 fix to read 4096-character lines

This commit is contained in:
Howard Chu 2014-05-26 11:08:14 -07:00
parent c5b48d0301
commit b22a614224

View File

@ -818,7 +818,7 @@ ldif_read_record(
char **bufp, /* ptr to malloced output buffer */
int *buflenp ) /* ptr to length of *bufp */
{
char line[LDIF_MAXLINE], *nbufp;
char line[LDIF_MAXLINE+2], *nbufp;
ber_len_t lcur = 0, len;
int last_ch = '\n', found_entry = 0, stop, top_comment = 0;