mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-02 20:10:11 -05:00
ITS#10430 Do not scroll past nul bytes
This commit is contained in:
parent
7b5980fd64
commit
2c5388b2da
1 changed files with 1 additions and 1 deletions
|
|
@ -1087,7 +1087,7 @@ get_token( const char ** sp, char ** token_val )
|
|||
static void
|
||||
parse_whsp(const char **sp)
|
||||
{
|
||||
while (LDAP_SPACE(**sp))
|
||||
while ( **sp && LDAP_SPACE(**sp))
|
||||
(*sp)++;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue