Menu

#10 Large tranfers can send negative byte counts

open
nobody
None
5
2005-02-01
2005-02-01
No

If the value of INT_MAX is exceeded then (2Gb for 32
bit ints) then negative byte counts can be sent to the
tracker. The cause is the use of int formats in the print
format and casting the 64 bits counts to (size_t).

Discussion

  • Stephen Henson

    Stephen Henson - 2005-02-01

    printf format fixes for tracker handling

     
  • Nobody/Anonymous

    Logged In: NO

    not workin'

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.