From: Colin Watson Date: Mon, 20 Aug 2012 11:04:22 +0000 (+0100) Subject: * ftparchive/override.cc: X-Git-Tag: 0.9.13.exp1ubuntu1~57 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/2f9eb8dbb096730cf889f7fd0e0579aa9a5607b9?ds=inline;hp=-c * ftparchive/override.cc: - Double maximum override line length to 1000 (LP: #1038961). --- 2f9eb8dbb096730cf889f7fd0e0579aa9a5607b9 diff --git a/debian/changelog b/debian/changelog index 2f6dbbd28..640647e8b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +apt (0.9.7.1ubuntu2) UNRELEASED; urgency=low + + * ftparchive/override.cc: + - Double maximum override line length to 1000 (LP: #1038961). + + -- Colin Watson Mon, 20 Aug 2012 12:03:48 +0100 + apt (0.9.7.1ubuntu1) quantal; urgency=low * merged from the debian-sid branch diff --git a/ftparchive/override.cc b/ftparchive/override.cc index 760c20120..af8ec3a8f 100644 --- a/ftparchive/override.cc +++ b/ftparchive/override.cc @@ -34,7 +34,7 @@ bool Override::ReadOverride(string const &File,bool const &Source) if (F == 0) return _error->Errno("fopen",_("Unable to open %s"),File.c_str()); - char Line[500]; + char Line[1000]; unsigned long long Counter = 0; while (fgets(Line,sizeof(Line),F) != 0) { @@ -142,7 +142,7 @@ bool Override::ReadExtraOverride(string const &File,bool const &Source) if (F == 0) return _error->Errno("fopen",_("Unable to open %s"),File.c_str()); - char Line[500]; + char Line[1000]; unsigned long long Counter = 0; while (fgets(Line,sizeof(Line),F) != 0) {