gh-98433: Fix quadratic time idna decoding. (#99092)
There was an unnecessary quadratic loop in idna decoding. This restores the behavior to linear. This also adds an early length check in IDNA decoding to outright reject huge inputs early on given the ultimate result is defined to be 63 or fewer characters.
G
Gregory P. Smith committed
d315722564927c7202dd6e111dc79eaf14240b0d
Parent: 9430d27
Committed by GitHub <noreply@github.com>
on 11/8/2022, 12:54:41 AM