Package: apt-cacher-ng
Version: 0.2.5-1
Severity: important
Tags: patch

Hello,

when sendfile fails and apt-cacher-ng sends data using read/write, the offset parameter is silently ignored. This causes that clients that issue range requests are given wrong data.

The attached patch fixes it.

Regards
    Jiri Palecek


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24.3-test (SMP w/1 CPU core; PREEMPT)
Locale: LANG=cs_CZ, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)
Shell: /bin/sh linked to /bin/dash

Versions of packages apt-cacher-ng depends on:
ii adduser 3.105 add and remove users and groups ii libbz2-1.0 1.0.5-0.1 high-quality block-sorting file co ii libc6 2.7-3 GNU C Library: Shared libraries ii libfuse2 2.7.2-1 Filesystem in USErspace library
ii  libgcc1                 1:4.3.0-5        GCC support library
ii libstdc++6 4.3.0-5 The GNU Standard C++ Library v3
ii  zlib1g                  1:1.2.3.3.dfsg-3 compression library - runtime

apt-cacher-ng recommends no packages.

apt-cacher-ng suggests no packages.

-- no debconf information


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

Attachment: apt-cacher-ng.patch
Description: Binary data

Reply via email to