+Thu May 6 23:50:17 BST 2004 Daniel Kobras <kobras@debian.org>
+
+ * main/enquiry.c: Remove dereference of unitialised and unused pointer
+ variable, fixing segfault on when "gcc -dumpmachine" returns a
+ non-matching triplet.
+
Thu May 6 23:44:55 BST 2004 Colin Watson <cjwatson@debian.org>
* dselect/helpmsgs.cc: Pressing 'n' repeats the last search, not
properly again. Closes: #246595.
* Make dpkg-scanpackages output Origin and Bugs fields with proper
casing. Closes: #154422.
+ * Fix segfault when "gcc -dumpmachine" returns a non-matching triplet.
+ Closes: #211850.
* Correct 'n' and 'p' key descriptions in dselect help message.
Closes: #120562.
* Stop hardcoding the list of manual page languages in debian/rules,
FILE *ccpipe;
struct varbuf vb;
ptrdiff_t ll;
- char *p, *q;
+ char *p;
if (*argv) badusage(_("--print-architecture does not take any argument"));
default: internerr("unknown action in printarch");
}
if (!arch) {
- *q= 0; arch= p;
+ arch= p;
fprintf(stderr, _("dpkg: warning, architecture `%s' not in remapping table\n"),arch);
}
if (printf("%s\n",arch) == EOF) werr("stdout");