Bug#1071480: libldap: sends some IPv6 addresses as server name

Ryan Tandy ryan at nardis.ca
Mon May 20 20:46:34 BST 2024


Control: tag -1 upstream moreinfo

Hi Elliott, thank you for investigating this issue and contributing a 
patch.

However, I tested your patch, and I'm not sure it's correct.

If the IPv6 address contains a letter a-f before the first colon, I 
think the code you changed is never reached. On seeing the first 
non-digit, we break the loop with numeric=0, and never reach the colon.

Have I missed something?

I would appreciate if you would pursue this issue upstream. If the fix 
needs further review or discussion with the upstream developers, I'd 
really rather not be a middleman in that conversation.

Thank you,
Ryan



More information about the Pkg-openldap-devel mailing list