mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Duplicate language tag to avoid double free
This commit is contained in:
parent
3ece90666f
commit
09e087c8e5
@ -149,7 +149,7 @@ int slap_bv2ad(
|
||||
goto done;
|
||||
}
|
||||
|
||||
desc.ad_lang = tokens[i];
|
||||
desc.ad_lang = ch_strdup( tokens[i] );
|
||||
|
||||
/* normalize to all lower case, it's easy */
|
||||
ldap_pvt_str2lower( desc.ad_lang );
|
||||
|
Loading…
Reference in New Issue
Block a user