[rs-commit] r432 - in /mod_ca/trunk: ChangeLog mod_ca_ldap.c
rs-commit at redwax.eu
rs-commit at redwax.eu
Thu Jul 27 12:50:47 CEST 2023
Author: minfrin at redwax.eu
Date: Thu Jul 27 12:50:45 2023
New Revision: 432
Log:
mod_ca_ldap: Fix a stack overflow when escaping an LDAP
distinguished name with characters outside the ASCII set.
Modified:
mod_ca/trunk/ChangeLog
mod_ca/trunk/mod_ca_ldap.c
Modified: mod_ca/trunk/ChangeLog
==============================================================================
--- mod_ca/trunk/ChangeLog (original)
+++ mod_ca/trunk/ChangeLog Thu Jul 27 12:50:45 2023
@@ -1,6 +1,9 @@
Changes with v0.2.4
+ *) mod_ca_ldap: Fix a stack overflow when escaping an LDAP
+ distinguished name with characters outside the ASCII set.
+ [Graham Leggett]
Changes with v0.2.3
Modified: mod_ca/trunk/mod_ca_ldap.c
==============================================================================
--- mod_ca/trunk/mod_ca_ldap.c (original)
+++ mod_ca/trunk/mod_ca_ldap.c Thu Jul 27 12:50:45 2023
@@ -256,7 +256,7 @@
while (*from) {
if (*from < ' ' || *from == '*' || *from == '(' || *from == ')'
|| *from == '\\') {
- c2x((unsigned int) (*from), '\\', to);
+ c2x((unsigned int) (*from++), '\\', to);
to += 3;
}
else {
More information about the rs-commit
mailing list