Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
projects
:
backup
>
bacula
> bacula-5.2.12-seg-fault.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File bacula-5.2.12-seg-fault.patch of Package bacula
diff --git a/src/lib/message.c b/src/lib/message.c index 24afdf1..5d2c2ef 100644 --- a/src/lib/message.c +++ b/src/lib/message.c @@ -37,6 +37,7 @@ * */ +#include <assert.h> #include "bacula.h" #include "jcr.h" @@ -1230,7 +1231,8 @@ e_msg(const char *file, int line, int type, int level, const char *fmt,...) 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);