mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
ITS#7859 fix to read 4096-character lines
This commit is contained in:
parent
c5b48d0301
commit
b22a614224
@ -818,7 +818,7 @@ ldif_read_record(
|
|||||||
char **bufp, /* ptr to malloced output buffer */
|
char **bufp, /* ptr to malloced output buffer */
|
||||||
int *buflenp ) /* ptr to length of *bufp */
|
int *buflenp ) /* ptr to length of *bufp */
|
||||||
{
|
{
|
||||||
char line[LDIF_MAXLINE], *nbufp;
|
char line[LDIF_MAXLINE+2], *nbufp;
|
||||||
ber_len_t lcur = 0, len;
|
ber_len_t lcur = 0, len;
|
||||||
int last_ch = '\n', found_entry = 0, stop, top_comment = 0;
|
int last_ch = '\n', found_entry = 0, stop, top_comment = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user