[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] [PATCH] Fix comparison is always true due to limited range of data type



Hello,

On Thu, 5 Feb 2015 04:02:15 -0800 (PST)
Christian Kujau <lists@xxxxxxxxxxxxxxx> wrote:
> Hi,
> 
> I was unable to compile Tor for powerpc32 for a while but I was
> unable to bisect it because of other compilation errors (and "git
> bisect skip" did not help):
>
> [snip]
>
> The last good version to compile for me was 
> 4ae729683 ("Try to fix test_checkdir windows compilation more").
> Below is my attempt to fix this issue by declaring "dir" as "signed
> char". It compiles now (4.6.3 and 4.9.1) for powerpc32 and Tor seems
> to work - but please have a look if this is the Right Thing To Do.

Thanks for reporting this.  The bug was fixed in master, and should be
in the next 0.2.6.x-alpha release.  The fix suggested was fine but was
tweaked somewhat when applied

See: https://trac.torproject.org/projects/tor/ticket/14764

Regards,

-- 
Yawning Angel

Attachment: pgpCeTSzZ3roF.pgp
Description: OpenPGP digital signature

_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev