You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
626 B
22 lines
626 B
diff -Naur bacula-9.0.0.old/src/lib/message.c bacula-9.0.0/src/lib/message.c
|
|
--- bacula-9.0.0.old/src/lib/message.c 2017-07-10 08:52:38.928834471 +0200
|
|
+++ bacula-9.0.0/src/lib/message.c 2017-07-10 09:04:34.923403834 +0200
|
|
@@ -28,6 +28,7 @@
|
|
*
|
|
*/
|
|
|
|
+#include <assert.h>
|
|
#include "bacula.h"
|
|
#include "jcr.h"
|
|
|
|
@@ -1367,7 +1368,8 @@
|
|
|
|
if (type == M_ABORT) {
|
|
char *p = 0;
|
|
- p[0] = 0; /* generate segmentation violation */
|
|
+ // p[0] = 0; /* generate segmentation violation */
|
|
+ assert(p!=NULL);
|
|
}
|
|
if (type == M_ERROR_TERM) {
|
|
exit(1);
|