From: Eric Bollengier Date: Wed, 2 Apr 2008 14:29:50 +0000 (+0000) Subject: ebl Fix small segfault in bacula-sd when debug level is 500 X-Git-Tag: Release-3.0.0~1620 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e3e5bff59e1e0b55992ac7a4841f6916aa35d493;p=bacula%2Fbacula ebl Fix small segfault in bacula-sd when debug level is 500 git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6727 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/stored/acquire.c b/bacula/src/stored/acquire.c index e6ff34b5d7..ae65592251 100644 --- a/bacula/src/stored/acquire.c +++ b/bacula/src/stored/acquire.c @@ -710,7 +710,7 @@ static void attach_dcr_to_dev(DCR *dcr) void detach_dcr_from_dev(DCR *dcr) { DEVICE *dev = dcr->dev; - Dmsg1(500, "JobId=%u enter detach_dcr_from_dev\n", (uint32_t)dcr->jcr->JobId); + Dmsg0(500, "Enter detach_dcr_from_dev\n"); /* Detach this dcr only if attached */ if (dcr->attached_to_dev && dev) { diff --git a/bacula/technotes-2.3 b/bacula/technotes-2.3 index 9a6b380cf6..fa9941d5d0 100644 --- a/bacula/technotes-2.3 +++ b/bacula/technotes-2.3 @@ -25,6 +25,7 @@ Add long term statistics job table General: 02Apr08 +ebl Fix small segfault in bacula-sd when debug level is 500 kes Modify run_program() and run_program_full_output() to use call by reference for the results string. This corrects a long standing problem where the address of the string may be changed