[OpenAFS] backup command crashes on amd64_linux26, passing integer 0 instead
of NULL pointer
Rainer Toebbicke
rtb@pclella.cern.ch
Tue, 11 Apr 2006 17:35:05 +0200
This is a multi-part message in MIME format.
--------------030807020104000800040209
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
The backup command crashes on amd64_linux26 when starting a dump.
Reason: an integer '0' passed instead of NULL for the 'newExt'
parameter on bc_StartDmpRst().
See attached patch.
Bcc'ed to openafs-bugs.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rainer Toebbicke
European Laboratory for Particle Physics(CERN) - Geneva, Switzerland
Phone: +41 22 767 8985 Fax: +41 22 767 7155
--------------030807020104000800040209
Content-Type: text/plain;
name="patch_backup_64bit"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="patch_backup_64bit"
--- openafs/src/bucoord/commands.c.o141 2005-07-11 21:29:33.000000000 +0200
+++ openafs/src/bucoord/commands.c 2006-04-11 17:27:09.000000000 +0200
@@ -1964,7 +1964,7 @@
code = bc_StartDmpRst(bc_globalConfig, dumpPath, vsName, volsToDump,
/*destServer */ 0, /*destPartition */ 0,
/*fromDate */ 0,
- /*newExt */ 0, /*oldFlag */ 0,
+ /*newExt */ NULL, /*oldFlag */ 0,
parent, level, bc_Dumper, portp, /*portCount */ 1,
baseds, doAppend, dontExecute);
if (code)
--------------030807020104000800040209--