From 5eda2db4082a0444d1b1396893f6d93cf7dfc2ef Mon Sep 17 00:00:00 2001 From: Adam Heath Date: Sat, 13 Sep 2003 21:29:28 +0000 Subject: [PATCH] Fix segfault with --status-fd --- ChangeLog | 4 ++++ debian/changelog | 2 ++ main/main.c | 1 + 3 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index af03a04d..8b714f41 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Sat Sep 13 16:28:52 CDT 2003 Adam Heath + + * main/main.c: Fix segfault with --status-fd. + Sat Sep 13 16:26:36 CDT 2003 Adam Heath * scripts/dpkg-source.pl: Add .cvsignore to dpkg-source's default diff diff --git a/debian/changelog b/debian/changelog index 43d2a087..f9301fa3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -37,6 +37,8 @@ dpkg (1.10.11) unstable; urgency=low * Darren Salt : Add .cvsignore to dpkg-source's default diff ignore regex. Also fix missing \ escape for .deps. Closes: #174013 + * Koblinger Egmont : + Fix segfault with --status-fd. Closes: #173618 -- Wichert Akkerman UNRELEASED diff --git a/main/main.c b/main/main.c index a58154c6..8f963d60 100644 --- a/main/main.c +++ b/main/main.c @@ -281,6 +281,7 @@ static void setpipe(const struct cmdinfo *cip, const char *value) { *lastpipe= nfmalloc(sizeof(struct pipef)); } (*lastpipe)->fd= v; + (*lastpipe)->next= NULL; } static void setforce(const struct cmdinfo *cip, const char *value) { -- 2.39.5