Comment 2 for bug 1922646

Revision history for this message
Xinmeng Xia (xinmengxia) wrote :

Thank you for your kindly explanations. Yes, I aggree. if the domain takes short string, it will work well. But if the domain takes long string, it may lead to segfault. We develop a fuzzing tool to test functions in Python standard library. The fuzzing tool return long string for the domains. That's how we found this bug. It is probably a potential threat. I think it is better to add a checker here for the length of the domain to ensure the robustness. Would you fix it?