mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Catch \ at end of filter
This commit is contained in:
parent
4d94092995
commit
66704f67b9
1 changed files with 2 additions and 0 deletions
|
|
@ -426,6 +426,8 @@ find_wildcard( char *s )
|
|||
|
||||
case '\\':
|
||||
s++; /* skip over escape */
|
||||
if ( *s == '\0' )
|
||||
return NULL; /* escape at end of string */
|
||||
if( hex2value( s[0] ) >= 0 && hex2value( s[1] ) >= 0 ) {
|
||||
/* skip over lead digit of two hex digit code */
|
||||
s++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue