[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#6947) ldapadd crashes with LDIFs with invalid line termination
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#6947) ldapadd crashes with LDIFs with invalid line termination
- From: jvcelak@redhat.com
- Date: Mon, 20 Jun 2011 15:54:40 GMT
- Auto-submitted: auto-generated (OpenLDAP-ITS)
Hello,
I have uploaded an updated version of the patch:
ftp://ftp.openldap.org/incoming/jvcelak-20110620-ldif-newline-end.patch
I found it better to fix the problem in ldif_read_record(), where a similar
situation with EOF was already handled. If the line is not terminated by a
newline character, it is added.
(The previous patch fixed the bug in ldif_countlines() which looks like a
blind shot now.)
Jan