git.samba.org
/
nivanova
/
openldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
189f312
)
ITS#7859 more for revert
author
Howard Chu
<hyc@openldap.org>
Fri, 11 Jul 2014 19:38:16 +0000
(12:38 -0700)
committer
Howard Chu
<hyc@openldap.org>
Fri, 11 Jul 2014 19:38:16 +0000
(12:38 -0700)
libraries/libldap/ldif.c
patch
|
blob
|
history
diff --git
a/libraries/libldap/ldif.c
b/libraries/libldap/ldif.c
index d8aa28ae8cf092c4423b42b5cd26a450ff3e562c..a0b8cfc6ca7f77b33fe4856130d33747bbf4e89d 100644
(file)
--- a/
libraries/libldap/ldif.c
+++ b/
libraries/libldap/ldif.c
@@
-819,7
+819,7
@@
ldif_read_record(
char **bufp, /* ptr to malloced output buffer */
int *buflenp ) /* ptr to length of *bufp */
{
- char line[LDIF_MAXLINE
+2
], *nbufp;
+ char line[LDIF_MAXLINE], *nbufp;
ber_len_t lcur = 0, len;
int last_ch = '\n', found_entry = 0, stop, top_comment = 0;