Commit Diff
Diff:
3eddc41403d4df8a20aed7a7e30c1757c964bb7a
752edb030e8c2e7d3df033ace16d5697c94c40da
Commit:
752edb030e8c2e7d3df033ace16d5697c94c40da
Tree:
83feb5c9bd79514f6c06bee499da9ab09231ba6f
Author:
pjp <pjp@delphinusdns.org>
Committer:
pjp <pjp@delphinusdns.org>
Date:
Tue Feb 19 14:20:25 2019 UTC
Message:
ptr was not pointing anywhere, fix a crash condition
blob - c23408f67c3d2b14c69d0b7309f6a3cc65be02fb
blob + 1947895d395530491001507f0ba25f32ccb01d8c
--- dddctl.c
+++ dddctl.c
@@ -27,7 +27,7 @@
*/
/*
- * $Id: dddctl.c,v 1.54 2019/02/19 11:58:59 pjp Exp $
+ * $Id: dddctl.c,v 1.55 2019/02/19 14:20:25 pjp Exp $
*/
#include "ddd-include.h"
@@ -216,7 +216,9 @@ int insert_filter(char *, char *);
int insert_whitelist(char *, char *);
int insert_notifyslave(char *, char *);
-int *ptr = NULL;
+int illdestination;
+int *ptr = &illdestination;
+
int notify = 0;
int whitelist = 0;
int bcount = 0;
repomaster@centroid.eu