Hi! While debugging cURL on Windows x64 crash with simple run of "curl -v http://яндекс.рф", I discovered that crash caused by calling tld_check_lz(). Further investigations reveal pointer to size_t is cast to pointer to long in stringprep_utf8_to_ucs4() which in invalid on Win64. As result - very high number is stored in items_written and in tld_get_4() dereferenced an invalid pointer. I can't make a minimal example to illustrate it as in minimal example initial nullifying hides the problem. Hope that invalid casting is obvious problem.
-- Best Wishes, Evgeny Grin
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help-libidn mailing list Help-libidn@gnu.org https://lists.gnu.org/mailman/listinfo/help-libidn