[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Libidn serious bug on Windows x64

From: Simon Josefsson
Subject: Re: Libidn serious bug on Windows x64
Date: Wed, 20 Jul 2016 19:03:56 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.4 (gnu/linux)

Evgeny Grin <address@hidden> writes:

> 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.

Hello.  Does this problem still exist with 1.32?  What size does
'size_t' and 'long' have on Windows x64?


Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]