Projects
Eulaceura:Mainline:GA
bacula
_service:obs_scm:bacula-seg-fault.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:bacula-seg-fault.patch of Package bacula
diff -Naur bacula-9.4.0.old/src/lib/message.c bacula-9.4.0/src/lib/message.c --- bacula-9.4.0.old/src/lib/message.c 2018-12-16 11:30:25.000000000 +0100 +++ bacula-9.4.0/src/lib/message.c 2019-01-12 15:20:25.794653213 +0100 @@ -28,6 +28,7 @@ * */ +#include <assert.h> #include "bacula.h" #include "jcr.h" @@ -1413,7 +1414,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);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2