help-gnutls
[Top][All Lists]
Advanced

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

Re: gnutls 3.1.0 -> 3.1.4 wMNAF-based multiplication change and a proble


From: Nikos Mavrogiannopoulos
Subject: Re: gnutls 3.1.0 -> 3.1.4 wMNAF-based multiplication change and a problem
Date: Sat, 24 Nov 2012 11:03:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10

On 11/24/2012 09:35 AM, Arkadiusz Miśkiewicz wrote:

>>> Uninstalling php gmp module and the problem is gone. My curl uses gnutls.
>>>
>>> The fact that I need gmp php module to reproduce makes me wonder
>>> if there is some global state (maybe in gmp) that's overwritten by
>>> gnutls?
>>>
>>> Any ideas/hints on what can be going on here?
>>
>> Hello,
>>  Could it be that the gmp module uses some conflicting gmp library
>> version? (check whether you have multiple gmp libraries in your system).
> 
> There is only one gmp library in my system (and php doesn't have any bundled 
> library).
> 
> Now I see that php gmp module uses:
> 
> mp_set_memory_functions(gmp_emalloc, gmp_erealloc, gmp_efree);

> gmp_exxx are functions that use Zend memory management code.

It seems then that you've found the reason of the crash. If this is
called prior to gnutls being initialized you shouldn't have any issue as
well.

regards,
Nikos



reply via email to

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