Comment 29 for bug 412413

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zsync - 0.6-1ubuntu4

---------------
zsync (0.6-1ubuntu4) karmic-proposed; urgency=low

  * http.c: range_fetch->block_left must also be off_t, not size_t.

zsync (0.6-1ubuntu3) karmic-proposed; urgency=low

  * debian/rules: build with $(shell getconf LFS_CFLAGS), so that we can
    handle files over 2GB (such as DVD images) on 32-bit systems.
    LP: #412413.
  * http.c:
    - drop local delta, not needed if we use LFS_CFLAGS
    - fix ETA calculation on the progress bar
  * libzsync/zsync.c:
    - Use atoll() instead of atol(), to ensure support for > 32bit file
      sizes.
    - Cast to off_t before multiplying, otherwise we get random overflowage
      on the byte range.
 -- Steve Langasek <email address hidden> Sat, 07 Nov 2009 12:59:40 +0000