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

Re: [tor-bugs] #13696 [Tor]: Use syscall-based entropy reading where possible.



#13696: Use syscall-based entropy reading where possible.
-------------------------+------------------------------------
 Reporter:  nickm        |          Owner:  yawning
     Type:  enhancement  |         Status:  reopened
 Priority:  Medium       |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor          |        Version:
 Severity:  Normal       |     Resolution:
 Keywords:  tor-relay    |  Actual Points:
Parent ID:               |         Points:
  Sponsor:               |
-------------------------+------------------------------------

Comment (by cypherpunks):

 Replying to [comment:21 yawning]:
 > My gcc doesn't have "-Wshorten-64-to-32".  This is completely harmless,
 I assume out_len just needs an explicit cast to int.  If the compiler were
 smarter it would see that, it's impossible for out_len to be big enough to
 where this warning has an impact, but so it goes.
 >
 > Edit: Oh, it's a clang-ism.

 I'm thinking it's about the return value of `syscall`. According to the
 manual `syscall` returns a `long` but it's assigned to an `int`.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13696#comment:22>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs