mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-07 23:51:21 -05:00
Fix q[-1] ref in prev commit
This commit is contained in:
parent
67f16caec0
commit
51e58c671e
1 changed files with 1 additions and 1 deletions
|
|
@ -2107,7 +2107,7 @@ IA5StringNormalize(
|
|||
* position. One is enough because the above loop collapsed
|
||||
* all whitespace to a single space.
|
||||
*/
|
||||
if ( ASCII_SPACE( q[-1] ) ) --q;
|
||||
if ( q > normalized->bv_val && ASCII_SPACE( q[-1] ) ) --q;
|
||||
|
||||
/* null terminate */
|
||||
*q = '\0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue