aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-09-05 14:38:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-09-05 14:38:00 +0000
commit9836ccda502d34e1903971f36e2199a7a33175aa (patch)
tree6fcd4640b42f308f75051f2855c18be9c42613e4 /driver.c
parent5177a9c78ccb52ba6ee59b318690fe792150e23b (diff)
downloadfetchmail-9836ccda502d34e1903971f36e2199a7a33175aa.tar.gz
fetchmail-9836ccda502d34e1903971f36e2199a7a33175aa.tar.bz2
fetchmail-9836ccda502d34e1903971f36e2199a7a33175aa.zip
Prevent core dumps on messages with no destination lines.
svn path=/trunk/; revision=1304
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 0bf6ec83..722f76e9 100644
--- a/driver.c
+++ b/driver.c
@@ -504,7 +504,7 @@ int num; /* index of message */
{
int offset;
struct addrblk *next;
- } *addrchain, **chainptr = &addrchain;
+ } *addrchain = NULL, **chainptr = &addrchain;
char buf[MSGBUFSIZE+1], return_path[MSGBUFSIZE+1];
int from_offs, ctt_offs, env_offs, next_address;
char *headers, *received_for;