mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
TS#4635 CR LF is also a valid line separator
This commit is contained in:
parent
dd2721c857
commit
e16058d857
@ -822,7 +822,8 @@ ldif_read_record(
|
||||
if ( last_ch == '\n' ) {
|
||||
(*lno)++;
|
||||
|
||||
if ( line[0] == '\n' ) {
|
||||
if ( line[0] == '\n' ||
|
||||
( line[0] == '\r' && line[1] == '\n' )) {
|
||||
if ( !found_entry ) {
|
||||
lcur = 0;
|
||||
top_comment = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user