go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.19k stars 352 forks source link

Add tests to parseDN (fuzzing, roundtrip ...) #504

Closed inteon closed 2 months ago

inteon commented 2 months ago

I additionally made some extra changes to the String() functions to make the round tripping work. PTAL

NOTE: I think there might be a few changes that are not required but still included. I need some extra time to find them. UPDATE: I removed the unnecessary code

@cpuschma

inteon commented 2 months ago

@cpuschma I updated the PR (removed the code that is not required for the roundtrip tests to pass)

cpuschma commented 2 months ago

I’ll look into this this weekend. Work’s been stressfull and I didn’t have the time to check your PR yet