+Sat Aug 24 14:41:45 CDT 2002 Adam Heath <doogie@debian.org>
+
+ * lib/fields.c: Allow spaces between the end of a version, and the
+ trailing ')'.
+
Sat Aug 24 14:16:13 CDT 2002 Adam Heath <doogie@debian.org>
* lib/archives.c: Fix segfault when --auto-deconfigure is given. This is
* Fix read past buffer in lib/nfmalloc.c. Closes: #157304.
* Fix several read pass buffer bugs, and a memleak. Closes: #155362.
* Fix segfault when --auto-deconfigure is given. Closes: #157762.
+ * Allow spaces between the end of a version, and the trailing ')'.
+ Closes: #154898.
-- Adam Heath <doogie@debian.org> UNRELEASED
if (isspace(*p)) break;
p++;
}
+ versionlength= p - versionstart;
while (isspace(*p)) p++;
if (*p == '(') parseerr(NULL,filename,lno, warnto,warncount,pigp,0,
_("`%s' field, reference to `%.255s': "
else if (*p == 0) parseerr(NULL,filename,lno, warnto,warncount,pigp,0,
_("`%s' field, reference to `%.255s': "
"version unterminated"),fip->name,depname);
- versionlength= p - versionstart;
if (versionlength >= versionused) {
versionused= versionlength;
version= realloc(version,versionlength+1);