comparison src/dnsbl.cpp @ 188:edcefdb7ccc1

fix null pointer dereference from missing HELO command
author carl
date Sat, 10 Nov 2007 10:27:05 -0800
parents f0eda59e8afd
children 004b855c6c1f
comparison
equal deleted inserted replaced
187:f0eda59e8afd 188:edcefdb7ccc1
59 #include <signal.h> /* header for signal functions */ 59 #include <signal.h> /* header for signal functions */
60 60
61 #include "includes.h" 61 #include "includes.h"
62 62
63 static char* dnsbl_version="$Id$"; 63 static char* dnsbl_version="$Id$";
64
65 64
66 extern "C" { 65 extern "C" {
67 sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr); 66 sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr);
68 sfsistat mlfi_helo(SMFICTX * ctx, char *helohost); 67 sfsistat mlfi_helo(SMFICTX * ctx, char *helohost);
69 sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv); 68 sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv);