Homec4science

Add ldap_sprintf() for LDAP escaping

Authored by epriestley <git@epriestley.com> on Jul 17 2012, 23:05.

Description

Add ldap_sprintf() for LDAP escaping

Summary: We have some minor issues with LDAP escaping now. I think they're not security problems (they will only cause us to reject valid inputs) but add an xsprintf()-family function to fix them.

Test Plan: Did LDAP login with names like ",", got the expected errors ("bad username") instead of suspicious errors ("invalid syntax").

Reviewers: vrana, btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D2994

Details

Committed
epriestley <git@epriestley.com>Jul 17 2012, 23:05
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU48d0d6b72c8a: Minor, explain secret splitting in opaque envelope test case.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU5b211411be61: Add ldap_sprintf() for LDAP escaping (authored by epriestley <git@epriestley.com>).Jul 17 2012, 23:05