38cff71
diff -Naur bacula-7.4.0.old/src/lib/message.c bacula-7.4.0/src/lib/message.c
38cff71
--- bacula-7.4.0.old/src/lib/message.c	2016-01-25 21:00:14.018670291 +0100
38cff71
+++ bacula-7.4.0/src/lib/message.c	2016-01-25 21:07:08.088325232 +0100
38cff71
@@ -28,6 +28,7 @@
a634e50
  *
a634e50
  */
a634e50
 
a634e50
+#include <assert.h>
a634e50
 #include "bacula.h"
a634e50
 #include "jcr.h"
a634e50
 
38cff71
@@ -1329,7 +1330,8 @@
a634e50
     if (type == M_ABORT) {
38cff71
        assert_msg = bstrdup(buf);
a634e50
        char *p = 0;
a634e50
-       p[0] = 0;                      /* generate segmentation violation */
38cff71
+       // p[0] = 0;                      /* generate segmentation violation */
38cff71
+       assert(p!=NULL);
a634e50
     }
a634e50
     if (type == M_ERROR_TERM) {
a634e50
        exit(1);