Hi,

attached is a fix for this problem (also in
[EMAIL PROTECTED]/apt--fixes--0). It would be nice if you
could check if it solves your problem (it's against the current
apt--main--0 branch).

Thanks,
 Michael

-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo
* looking for [EMAIL PROTECTED]/apt--fixes--0--patch-9 to compare with
* comparing to [EMAIL PROTECTED]/apt--fixes--0--patch-9: .. done.

* modified files

--- orig/apt-pkg/cdrom.cc
+++ mod/apt-pkg/cdrom.cc
@@ -422,6 +422,9 @@
    {      
       F.getline(Buffer,sizeof(Buffer));
       CurLine++;
+      if (F.fail() && !F.eof())
+        return _error->Error(_("Line %u too long in source list %s."),
+                             CurLine,File.c_str());
       _strtabexpand(Buffer,sizeof(Buffer));
       _strstrip(Buffer);
             


Reply via email to