Date: Wed, 27 Jan 2016 23:07:08 +0000 (UTC) From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r407390 - in head/sysutils/bareos-server: . files Message-ID: <201601272307.u0RN78hr031239@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: acm Date: Wed Jan 27 23:07:08 2016 New Revision: 407390 URL: https://svnweb.freebsd.org/changeset/ports/407390 Log: - Fix a problem with NDMP jobs - Bump PORTREVISION Obtained from: https://bugs.bareos.org/view.php?id=604 Added: head/sysutils/bareos-server/files/patch-src-stored-ndmp_tape.c (contents, props changed) Modified: head/sysutils/bareos-server/Makefile Modified: head/sysutils/bareos-server/Makefile ============================================================================== --- head/sysutils/bareos-server/Makefile Wed Jan 27 21:02:30 2016 (r407389) +++ head/sysutils/bareos-server/Makefile Wed Jan 27 23:07:08 2016 (r407390) @@ -3,7 +3,7 @@ PORTNAME= bareos DISTVERSION= 15.2.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= sysutils PKGNAMEPREFIX?= # PKGNAMESUFFIX?= -server Added: head/sysutils/bareos-server/files/patch-src-stored-ndmp_tape.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/bareos-server/files/patch-src-stored-ndmp_tape.c Wed Jan 27 23:07:08 2016 (r407390) @@ -0,0 +1,19 @@ +--- src/stored/ndmp_tape.c 2016-01-27 17:57:48.370956000 -0500 ++++ src/stored/ndmp_tape.c 2016-01-27 17:59:50.890336000 -0500 +@@ -347,6 +347,16 @@ + DCR *dcr = jcr->dcr; + POOLMEM *rec_data; + ++ if (!dcr) { ++ Dmsg0(100, "No dcr defined, bailing out\n"); ++ return retval; ++ } ++ ++ if (!dcr->rec) { ++ Dmsg0(100, "No dcr->rec defined, bailing out\n"); ++ return retval; ++ } ++ + /* + * Keep track of the original data buffer and restore it on exit from this function. + */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601272307.u0RN78hr031239>