Package: reprepro
Version: 4.2.0-2squeeze1
Severity: minor

When reprepro parses a file that is missing a new line at the end, it will 
produce the "Overlong line in <filename>!" error message.
This can be misleading and make it tricky to track down the problem (since the 
lines may not actually be long at all).

I noticed in the source code on 
http://code.google.com/p/reprepro/source/browse/trunk/filterlist.c?spec=svn364&r=364#93
 that you read 1000 chars and then look for a new line. It looks like you're 
just not accounting for EOF. 

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages reprepro depends on:
ii  libarchive1     2.8.4.forreal-1+squeeze2 Single library to read/write tar, 
ii  libbz2-1.0      1.0.5-6+squeeze1         high-quality block-sorting file co
ii  libc6           2.11.3-3                 Embedded GNU C Library: Shared lib
ii  libdb4.8        4.8.30-2                 Berkeley v4.8 Database Libraries [
ii  libgpg-error0   1.6-1                    library for common error values an
ii  libgpgme11      1.2.0-1.2                GPGME - GnuPG Made Easy
ii  zlib1g          1:1.2.3.4.dfsg-3         compression library - runtime

Versions of packages reprepro recommends:
ii  apt                    0.8.10.3+squeeze1 Advanced front-end for dpkg

Versions of packages reprepro suggests:
pn  gnupg-agent                   <none>     (no description available)
pn  inoticoming                   <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in
ii  xz-utils                      5.0.0-2    XZ-format compression utilities

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to