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

Re: [tor-bugs] #33131 [Core Tor/Tor]: Bug: buf->datalen >= 0x7fffffff



#33131: Bug: buf->datalen >= 0x7fffffff
--------------------------+----------------------------------
 Reporter:  cypherpunks   |          Owner:  (none)
     Type:  defect        |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: unspecified
Component:  Core Tor/Tor  |        Version:  Tor: 0.4.2.5
 Severity:  Minor         |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:                |         Points:
 Reviewer:                |        Sponsor:
--------------------------+----------------------------------

Comment (by cypherpunks):

 Replying to [comment:2 nickm]:
 > Is this on a 32-bit or 64-bit system?
 X64 mingw x64
 >  do you really have 2 gigabytes per second of bandwidth?
 sadly no. not even 10GE.

 max value for this is INT_MAX but it gives the bug message. if set 1
 single byte below the MAX, it works without problem. results into:

 BandwidthRate may should be at most 2147483646

 {{{

 getconf BandwidthRate
 250 BandwidthRate=1073741824
 setconf BandwidthRate="2 GBytes"
 250 OK
 getconf BandwidthRate
 250 BandwidthRate=2147483647
 setconf BandwidthRate="4 GBytes"
 513 Unacceptable option value: BandwidthRate (4294967295) must be at most
 2147483647
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33131#comment:3>
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