mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 11:59:45 -05:00
ITS#10431 Enforce a stop when encountering a nul-leading line
This commit is contained in:
parent
2c5388b2da
commit
cd70bf5082
1 changed files with 3 additions and 1 deletions
|
|
@ -830,11 +830,13 @@ pop:
|
|||
/* ITS#9811 Reached the end looking for an entry, try again */
|
||||
goto pop;
|
||||
}
|
||||
stop = 1;
|
||||
len = 0;
|
||||
} else {
|
||||
len = strlen( line );
|
||||
}
|
||||
if ( !len ) {
|
||||
stop = 1;
|
||||
}
|
||||
}
|
||||
|
||||
if ( stop ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue