Patch for openssh server

Frank Cusack fcusack at fcusack.com
Wed Aug 16 02:13:06 EST 2006


On August 15, 2006 4:53:52 PM +0200 Christian Iversen <chrivers at iversen-net.dk> wrote:
> On Tuesday 15 August 2006 16:43, Chris Rapier wrote:
>> Christian Iversen wrote:
>> >>>>> +	logit("Accounting: Bytes in/out: %ld/%ld", bytes_in, bytes_out);
>> >>>>
>> >>>> bytes_in and bytes_out are unsigned but the format string is signed.
>> >>>
>> >>> Oops, my bad. Indeed, that would be a problem if the user transferred
>> >>> more bytes than there are atoms in the universe ;-)
>> >>
>> >> Yeah, it's not something that people are likely hit in an enormous hurry
>> >>
>> >> :-)
>> >
>> > Not really, no ;-)
>>
>> Based on the amount of data we're moving around at the US supercomputing
>> centers I'd say you have 5 to 7 years at the outside.
>
> Well, one extra bit is really only going to help another 5 or 7 years then. We
> should clearly all use 128-bit numbers right away ;-)

Isn't long (and u_long) 32 bits on ILP32?  Or is u_long really uint64_t.

-frank



More information about the openssh-unix-dev mailing list