The majority of this code is either directly copied or edited from the GNU "libidn2" source code tree.
The crash is occurring in code that I added. The error me