comparison src/dnsbl.h @ 187:f0eda59e8afd

fix null pointer dereference from missing HELO command
author carl
date Sat, 10 Nov 2007 10:20:54 -0800
parents 7a722f482bfb
children 004b855c6c1f
comparison
equal deleted inserted replaced
186:2a80c9b5d2c9 187:f0eda59e8afd
22 //////////////////////////////////////////////// 22 ////////////////////////////////////////////////
23 // mail filter private data, held for us by sendmail 23 // mail filter private data, held for us by sendmail
24 // 24 //
25 struct mlfiPriv 25 struct mlfiPriv
26 { 26 {
27 // callback specific data
28 SMFICTX *ctx; // updated everytime we fetch this priv pointer from the ctx
27 // connection specific data 29 // connection specific data
28 CONFIG *pc; // global filtering configuration 30 CONFIG *pc; // global filtering configuration
29 int fd; // to talk to dns resolver process 31 int fd; // to talk to dns resolver process
30 bool err; // did we get any errors on the resolver socket? 32 bool err; // did we get any errors on the resolver socket?
31 int ip; // ip4 address of the smtp client 33 int ip; // ip4 address of the smtp client