Re: [exim-dev] [exim-announce] Security release for CVE-2016…

Góra strony
Delete this message
Reply to this message
Autor: The Doctor
Data:  
Dla: Heiko Schlittermann
CC: exim-dev
Temat: Re: [exim-dev] [exim-announce] Security release for CVE-2016-1531: 4.84.2, 4.85.2, 4.86.2, 4.87 RC5]


Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
God,Queen and country!Never Satan President Republic!Beware AntiChrist rising!
http://www.fullyfollow.me/rootnl2k Look at Psalms 14 and 53 on Atheism
Manitoba and Saskatchewan! Save your provinces in April! Vote Liberal!!

On Wed, 2 Mar 2016, Heiko Schlittermann wrote:

> The Doctor <doctor@???> (Mi 02 Mär 2016 22:24:23 CET):
>> Got a problem compiling this
>>
>> This line
>>
>> if (unsetenv(CS *name) < 0) return FALSE;
>>
>> is prevent the compilation.
>>
>> gcc environment.c
>> environment.c: In function `cleanup_environment':
>> environment.c:54: warning: cast to pointer from integer of different size
>> environment.c:54: void value not ignored as it ought to be
>
> Uh. your BSDs' unsetenv() returns void, my Linux's unsetenv() returns
> int.
>
> Change the above line to just
>
>    unsetenv(CS *name);

>
> Does it work. Does the warning disappear?


I still get

gcc environment.c
environment.c: In function `cleanup_environment':
environment.c:54: warning: cast to pointer from integer of different size
environment.c:54: void value not ignored as it ought to be
Makefile:624: recipe for target 'environment.o' failed

>
>
>    Best regards from Dresden/Germany
>    Viele Grüße aus Dresden
>    Heiko Schlittermann
> -- 
> SCHLITTERMANN.de ---------------------------- internet & unix support -
> Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
> gnupg encrypted messages are welcome --------------- key ID: F69376CE -
> ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -

>